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/voaacenc | |
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/voaacenc')
-rw-r--r-- | ext/voaacenc/gstvoaacenc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/voaacenc/gstvoaacenc.c b/ext/voaacenc/gstvoaacenc.c index 756191ab1..315f37326 100644 --- a/ext/voaacenc/gstvoaacenc.c +++ b/ext/voaacenc/gstvoaacenc.c @@ -177,6 +177,7 @@ gst_voaacenc_class_init (GstVoAacEncClass * klass) static void gst_voaacenc_init (GstVoAacEnc * voaacenc) { + GST_PAD_SET_ACCEPT_TEMPLATE (GST_AUDIO_ENCODER_SINK_PAD (voaacenc)); voaacenc->bitrate = VOAAC_ENC_DEFAULT_BITRATE; voaacenc->output_format = VOAAC_ENC_DEFAULT_OUTPUTFORMAT; |