summaryrefslogtreecommitdiffstats
path: root/ext
diff options
context:
space:
mode:
Diffstat (limited to 'ext')
-rw-r--r--ext/jack/gstjack.c3
-rw-r--r--ext/xine/xineaudiodec.c2
2 files changed, 3 insertions, 2 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;
diff --git a/ext/xine/xineaudiodec.c b/ext/xine/xineaudiodec.c
index a0a19f21..dee0242f 100644
--- a/ext/xine/xineaudiodec.c
+++ b/ext/xine/xineaudiodec.c
@@ -328,7 +328,7 @@ gst_xine_audio_dec_chain (GstPad * pad, GstData * in)
xine->decoder->decode_data (xine->decoder, &element);
/* send stsd emulation to the decoder */
/* FIXME: qdm2 only right now */
- g_assert (gst_pad_get_negotiated_caps (xine->sinkpad));
+ g_assert (gst_pad_is_negotiated (xine->sinkpad));
structure =
gst_caps_get_structure (gst_pad_get_negotiated_caps (xine->sinkpad), 0);
*((guint32 *) & stsd[56]) = GUINT32_TO_BE (12);