mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 17:20:36 +00:00
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
1 changed files with 1 additions and 0 deletions
|
@ -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…
Reference in a new issue