diff options
Diffstat (limited to 'ext/dv/gstdvdec.c')
-rw-r--r-- | ext/dv/gstdvdec.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/dv/gstdvdec.c b/ext/dv/gstdvdec.c index 7ec81bc0..dc51c2e3 100644 --- a/ext/dv/gstdvdec.c +++ b/ext/dv/gstdvdec.c @@ -784,7 +784,7 @@ gst_dvdec_loop (GstElement *element) dvdec->next_ts += (GST_SECOND*100) / dvdec->framerate; - if (GST_PAD_IS_CONNECTED (dvdec->audiosrcpad)) { + if (GST_PAD_IS_LINKED (dvdec->audiosrcpad)) { gint16 *a_ptr; gint i, j; @@ -822,7 +822,7 @@ gst_dvdec_loop (GstElement *element) gst_dvdec_push (dvdec, outbuf, dvdec->audiosrcpad, ts); } - if (GST_PAD_IS_CONNECTED (dvdec->videosrcpad)) { + if (GST_PAD_IS_LINKED (dvdec->videosrcpad)) { guint8 *outframe; guint8 *outframe_ptrs[3]; gint outframe_pitches[3]; |