mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-26 18:20:44 +00:00
audioencoder: stop proxying some old-style 0.10 raw audio caps fields
This commit is contained in:
parent
1a2863bf33
commit
debbc75272
1 changed files with 0 additions and 8 deletions
|
@ -1214,14 +1214,6 @@ gst_audio_encoder_proxy_getcaps (GstAudioEncoder * enc, GstCaps * caps)
|
||||||
gst_structure_set_value (s, "channels", val);
|
gst_structure_set_value (s, "channels", val);
|
||||||
/* following might also make sense for some encoded formats,
|
/* following might also make sense for some encoded formats,
|
||||||
* e.g. wavpack */
|
* e.g. wavpack */
|
||||||
if ((val = gst_structure_get_value (allowed_s, "width")))
|
|
||||||
gst_structure_set_value (s, "width", val);
|
|
||||||
if ((val = gst_structure_get_value (allowed_s, "depth")))
|
|
||||||
gst_structure_set_value (s, "depth", val);
|
|
||||||
if ((val = gst_structure_get_value (allowed_s, "endianness")))
|
|
||||||
gst_structure_set_value (s, "endianness", val);
|
|
||||||
if ((val = gst_structure_get_value (allowed_s, "signed")))
|
|
||||||
gst_structure_set_value (s, "signed", val);
|
|
||||||
if ((val = gst_structure_get_value (allowed_s, "channel-mask")))
|
if ((val = gst_structure_get_value (allowed_s, "channel-mask")))
|
||||||
gst_structure_set_value (s, "channel-mask", val);
|
gst_structure_set_value (s, "channel-mask", val);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue