mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 08:46:40 +00:00
ldac: Set eqmid in caps
We set the eqmid in caps to be usable downstream by rtpldacpay for knowing the frame count. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1797>
This commit is contained in:
parent
7cebd5b359
commit
7c9a315578
1 changed files with 3 additions and 0 deletions
|
@ -231,6 +231,9 @@ gst_ldac_enc_do_negotiate (GstAudioEncoder * audio_enc)
|
|||
output_caps = gst_caps_fixate (output_caps);
|
||||
gst_caps_set_simple (output_caps, "framed", G_TYPE_BOOLEAN, TRUE, NULL);
|
||||
|
||||
/* Set EQMID in caps to be used downstream by rtpldacpay */
|
||||
gst_caps_set_simple (output_caps, "eqmid", G_TYPE_INT, enc->eqmid, NULL);
|
||||
|
||||
GST_INFO_OBJECT (enc, "output caps %" GST_PTR_FORMAT, output_caps);
|
||||
|
||||
if (enc->channels == 1)
|
||||
|
|
Loading…
Reference in a new issue