summaryrefslogtreecommitdiffstats
path: root/ext/dv/gstdvdec.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/dv/gstdvdec.c')
-rw-r--r--ext/dv/gstdvdec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/dv/gstdvdec.c b/ext/dv/gstdvdec.c
index 36f8418f..bb08cbbb 100644
--- a/ext/dv/gstdvdec.c
+++ b/ext/dv/gstdvdec.c
@@ -315,7 +315,7 @@ gst_dvdec_loop (GstElement *element)
trylist = gst_caps_normalize (trylist);
while (trylist) {
- GstCaps *to_try = gst_caps_copy_first (trylist);
+ GstCaps *to_try = gst_caps_copy_1 (trylist);
/* try each format */
if (gst_pad_try_set_caps (dvdec->videosrcpad, to_try)) {