diff options
author | Thiago Santos <thiagoss@osg.samsung.com> | 2015-08-16 07:18:34 -0300 |
---|---|---|
committer | Thiago Santos <thiagoss@osg.samsung.com> | 2015-08-17 10:07:54 -0300 |
commit | 6517282af7f9fba5ad30d9d8cf42077223f3bcb3 (patch) | |
tree | 1d7996970ea79f08dadda693cdd0ab42057d7f59 /ext/faac/gstfaac.c | |
parent | 6135ebebeed3163e77117c4be0f4b39362c3f193 (diff) | |
download | gstreamer-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/faac/gstfaac.c')
-rw-r--r-- | ext/faac/gstfaac.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/faac/gstfaac.c b/ext/faac/gstfaac.c index a0c2e0823..9adc11fb8 100644 --- a/ext/faac/gstfaac.c +++ b/ext/faac/gstfaac.c @@ -243,6 +243,7 @@ gst_faac_class_init (GstFaacClass * klass) static void gst_faac_init (GstFaac * faac) { + GST_PAD_SET_ACCEPT_TEMPLATE (GST_AUDIO_ENCODER_SINK_PAD (faac)); } static void |