From f781e62e09b58679b9cec761d333cb36dff526f2 Mon Sep 17 00:00:00 2001 From: Thiago Santos Date: Sat, 15 Aug 2015 22:15:26 -0300 Subject: [PATCH] audioencoders: use template subset check for accept-caps It is faster than doing a query that propagates downstream and should be enough Elements: amrnbenc, lamemp3enc, twolamemp2enc --- ext/lame/gstlamemp3enc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ext/lame/gstlamemp3enc.c b/ext/lame/gstlamemp3enc.c index 7ed53b3409..43b63ff2cf 100644 --- a/ext/lame/gstlamemp3enc.c +++ b/ext/lame/gstlamemp3enc.c @@ -281,6 +281,7 @@ gst_lamemp3enc_class_init (GstLameMP3EncClass * klass) static void gst_lamemp3enc_init (GstLameMP3Enc * lame) { + GST_PAD_SET_ACCEPT_TEMPLATE (GST_AUDIO_ENCODER_SINK_PAD (lame)); } static gboolean