summaryrefslogtreecommitdiffstats
path: root/ext/dv
diff options
context:
space:
mode:
Diffstat (limited to 'ext/dv')
-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 367cfe72..0ee89761 100644
--- a/ext/dv/gstdvdec.c
+++ b/ext/dv/gstdvdec.c
@@ -695,7 +695,7 @@ gst_dvdec_loop (GstElement *element)
GstCaps *to_try = gst_caps_copy_1 (trylist);
/* try each format */
- if (gst_pad_try_set_caps (dvdec->videosrcpad, to_try)) {
+ if (gst_pad_try_set_caps (dvdec->videosrcpad, to_try) > 0) {
guint32 fourcc;
/* it worked, try to find what it was again */