summaryrefslogtreecommitdiffstats
path: root/ext/dv
diff options
context:
space:
mode:
authorRonald S. Bultje <rbultje@ronald.bitfreak.net>2002-09-10 09:31:40 +0000
committerRonald S. Bultje <rbultje@ronald.bitfreak.net>2002-09-10 09:31:40 +0000
commit0b497b1634b097988451b70aca5bf4190b81c01f (patch)
tree26ce2f5d73e89d98f284f097727221f777ab4117 /ext/dv
parentdc3b48f77c977d055efa550f01d691d2c4ec110f (diff)
This updates all plugins to the new API for gst_pad_try_set_caps
Original commit message from CVS: This updates all plugins to the new API for gst_pad_try_set_caps
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 */