diff options
author | Ronald S. Bultje <rbultje@ronald.bitfreak.net> | 2002-09-10 09:31:40 +0000 |
---|---|---|
committer | Ronald S. Bultje <rbultje@ronald.bitfreak.net> | 2002-09-10 09:31:40 +0000 |
commit | 2c5496eb74498afc6ff26e47773af43239a07abd (patch) | |
tree | d246cf3070c309a87325709fd05169b553b0024e /ext/tarkin | |
parent | af558bdc6f39c680689423d98d2b60e7fd7a4c81 (diff) | |
download | gst-plugins-bad-2c5496eb74498afc6ff26e47773af43239a07abd.tar.gz gst-plugins-bad-2c5496eb74498afc6ff26e47773af43239a07abd.tar.bz2 gst-plugins-bad-2c5496eb74498afc6ff26e47773af43239a07abd.zip |
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/tarkin')
-rw-r--r-- | ext/tarkin/gsttarkindec.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/tarkin/gsttarkindec.c b/ext/tarkin/gsttarkindec.c index e0e538c5..28a7ee0a 100644 --- a/ext/tarkin/gsttarkindec.c +++ b/ext/tarkin/gsttarkindec.c @@ -206,7 +206,7 @@ gst_tarkindec_chain (GstPad *pad, GstBuffer *buf) layer = &tarkindec->tarkin_stream->layer->desc; if (!GST_PAD_CAPS (tarkindec->srcpad)) { - if (!gst_pad_try_set_caps (tarkindec->srcpad, + if (gst_pad_try_set_caps (tarkindec->srcpad, GST_CAPS_NEW ( "tarkin_raw", "video/raw", @@ -219,7 +219,7 @@ gst_tarkindec_chain (GstPad *pad, GstBuffer *buf) "blue_mask", GST_PROPS_INT (0xff), "width", GST_PROPS_INT (layer->width), "height", GST_PROPS_INT (layer->height) - ))) + )) <= 0) { gst_element_error (GST_ELEMENT (tarkindec), "could not output format"); gst_buffer_unref (buf); |