mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-15 13:53:19 +00:00
audioconvert: We can handle channels conversion
This commit is contained in:
parent
12a8fff8ac
commit
1c10fbcd33
1 changed files with 2 additions and 1 deletions
|
@ -288,7 +288,8 @@ gst_audio_convert_caps_remove_format_info (GstCaps * caps)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
st = gst_structure_copy (st);
|
st = gst_structure_copy (st);
|
||||||
gst_structure_remove_fields (st, "format", "channel-positions", NULL);
|
gst_structure_remove_fields (st, "format", "channel-positions", "channels",
|
||||||
|
NULL);
|
||||||
|
|
||||||
gst_caps_append_structure (res, st);
|
gst_caps_append_structure (res, st);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue