mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-22 22:16:22 +00:00
audioconvert: remove layout from structure when fixating caps
otherwise caps intersection always fails when converting non-interleaved to interleaved audio https://bugzilla.gnome.org/show_bug.cgi?id=797225
This commit is contained in:
parent
a164d86804
commit
18f082a0d8
1 changed files with 1 additions and 0 deletions
|
@ -702,6 +702,7 @@ gst_audio_convert_fixate_caps (GstBaseTransform * base,
|
|||
if (result)
|
||||
gst_caps_unref (result);
|
||||
gst_caps_map_in_place (removed, remove_format_from_structure, NULL);
|
||||
gst_caps_map_in_place (removed, remove_layout_from_structure, NULL);
|
||||
result = gst_caps_intersect (othercaps, removed);
|
||||
gst_caps_unref (removed);
|
||||
if (gst_caps_is_empty (result)) {
|
||||
|
|
Loading…
Reference in a new issue