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
This commit is contained in:
parent
eada1366bc
commit
f1cbca9480
@ -376,6 +376,8 @@ gst_opus_enc_init (GstOpusEnc * enc)
|
||||
|
||||
GST_DEBUG_OBJECT (enc, "init");
|
||||
|
||||
GST_PAD_SET_ACCEPT_TEMPLATE (GST_AUDIO_ENCODER_SINK_PAD (enc));
|
||||
|
||||
g_mutex_init (&enc->property_lock);
|
||||
|
||||
enc->n_channels = -1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user