From 18f082a0d8db9626f233b142d8615a6929cf5224 Mon Sep 17 00:00:00 2001 From: Matej Knopp Date: Sat, 29 Sep 2018 10:39:46 +0200 Subject: [PATCH] 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 --- gst/audioconvert/gstaudioconvert.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gst/audioconvert/gstaudioconvert.c b/gst/audioconvert/gstaudioconvert.c index e93ddf4..b2d8261 100644 --- a/gst/audioconvert/gstaudioconvert.c +++ b/gst/audioconvert/gstaudioconvert.c @@ -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)) { -- 2.7.4