summaryrefslogtreecommitdiffstats
path: root/gst/virtualdub
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
commit2c5496eb74498afc6ff26e47773af43239a07abd (patch)
treed246cf3070c309a87325709fd05169b553b0024e /gst/virtualdub
parentaf558bdc6f39c680689423d98d2b60e7fd7a4c81 (diff)
downloadgst-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 'gst/virtualdub')
-rw-r--r--gst/virtualdub/gstxsharpen.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/gst/virtualdub/gstxsharpen.c b/gst/virtualdub/gstxsharpen.c
index 1d85b59f..f42ad7d0 100644
--- a/gst/virtualdub/gstxsharpen.c
+++ b/gst/virtualdub/gstxsharpen.c
@@ -147,11 +147,7 @@ gst_xsharpen_sinkconnect (GstPad * pad, GstCaps * caps)
sharpen->dstpitch = sharpen->srcpitch = sharpen->width * sizeof (Pixel32);
- if (gst_pad_try_set_caps (sharpen->srcpad, caps)) {
- return GST_PAD_CONNECT_OK;
- }
-
- return GST_PAD_CONNECT_REFUSED;
+ return gst_pad_try_set_caps (sharpen->srcpad, caps);
}
static void