GNOME Bugzilla – Bug 797225
audioconvert: Conversion between non-interleaved and interleaved audio aways results in mono (regression)
Last modified: 2018-10-05 12:41:32 UTC
Created attachment 373807 [details] [review] Patch Problem happens during fixating caps. The caps are not properly fixated because "layout" is not removed from the structure and thus intersection always results in empty caps, and thus falling back to first structure of othercaps (which in my case has 1 channel). After removing "layout" from the structure caps are fixated properly and everything works like before.
Sounds reasonable
Can you please give me some more information about the caps on both sides of your use case, so that I can write a unit test?
commit a85a59e4a8cda731e688f4e6716401e394c6c29c Author: George Kiagiadakis <george.kiagiadakis@collabora.com> Date: Fri Oct 5 15:37:45 2018 +0300 tests: audioconvert: test caps fixate with layout conversion https://bugzilla.gnome.org/show_bug.cgi?id=797225 commit 18f082a0d8db9626f233b142d8615a6929cf5224 Author: Matej Knopp <matej.knopp@gmail.com> Date: Sat Sep 29 10:39:46 2018 +0200 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