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
This commit is contained in:
parent
ebfa19b0d1
commit
f781e62e09
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user