summaryrefslogtreecommitdiffstats
path: root/ext/gsm
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 /ext/gsm
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 'ext/gsm')
-rw-r--r--ext/gsm/gstgsmdec.c2
-rw-r--r--ext/gsm/gstgsmenc.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/ext/gsm/gstgsmdec.c b/ext/gsm/gstgsmdec.c
index 35207618..aef69763 100644
--- a/ext/gsm/gstgsmdec.c
+++ b/ext/gsm/gstgsmdec.c
@@ -127,7 +127,7 @@ gst_gsmdec_sinkconnect (GstPad *pad, GstCaps *caps)
"depth", GST_PROPS_INT (16),
"rate", GST_PROPS_INT (rate),
"channels", GST_PROPS_INT (1)
- )))
+ )) > 0)
{
return GST_PAD_CONNECT_OK;
}
diff --git a/ext/gsm/gstgsmenc.c b/ext/gsm/gstgsmenc.c
index fb19b5ef..3ed506b8 100644
--- a/ext/gsm/gstgsmenc.c
+++ b/ext/gsm/gstgsmenc.c
@@ -128,7 +128,7 @@ gst_gsmenc_sinkconnect (GstPad *pad, GstCaps *caps)
"gsm_gsm",
"audio/x-gsm",
"rate", GST_PROPS_INT (gsmenc->rate)
- )))
+ )) > 0)
{
return GST_PAD_CONNECT_OK;
}