diff options
Diffstat (limited to 'ext/jack')
-rw-r--r-- | ext/jack/gstjack.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/jack/gstjack.c b/ext/jack/gstjack.c index 8b1296ea..58678f87 100644 --- a/ext/jack/gstjack.c +++ b/ext/jack/gstjack.c @@ -308,7 +308,8 @@ gst_jack_request_new_pad (GstElement * element, GstPadTemplate * templ, GstJackPad *pad; gint count; - g_return_val_if_fail ((this = GST_JACK (element)), NULL); + g_return_val_if_fail (GST_IS_JACK (element), NULL); + this = GST_JACK (element); if (!this->bin) pad_list = &this->pads; |