summaryrefslogtreecommitdiff
path: root/ext/gsm
diff options
context:
space:
mode:
authorThiago Santos <thiagoss@osg.samsung.com>2015-08-16 07:18:34 -0300
committerThiago Santos <thiagoss@osg.samsung.com>2015-08-17 10:07:54 -0300
commit6517282af7f9fba5ad30d9d8cf42077223f3bcb3 (patch)
tree1d7996970ea79f08dadda693cdd0ab42057d7f59 /ext/gsm
parent6135ebebeed3163e77117c4be0f4b39362c3f193 (diff)
downloadgstreamer-plugins-bad-6517282af7f9fba5ad30d9d8cf42077223f3bcb3.tar.gz
audioencoders: use template subset check for accept-caps
It is faster than doing a query that propagates downstream and should be enough Elements: faac, gsmenc, opusenc, sbcenc, voamrwbenc, adpcmenc, sirenenc
Diffstat (limited to 'ext/gsm')
-rw-r--r--ext/gsm/gstgsmenc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/gsm/gstgsmenc.c b/ext/gsm/gstgsmenc.c
index d9a0aee29..54ede2ef1 100644
--- a/ext/gsm/gstgsmenc.c
+++ b/ext/gsm/gstgsmenc.c
@@ -97,6 +97,7 @@ gst_gsmenc_class_init (GstGSMEncClass * klass)
static void
gst_gsmenc_init (GstGSMEnc * gsmenc)
{
+ GST_PAD_SET_ACCEPT_TEMPLATE (GST_AUDIO_ENCODER_SINK_PAD (gsmenc));
}
static gboolean