mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 22:36:33 +00:00
amcaudiodec: Set layout=interleaved in raw audio caps
Otherwise the GAP event fallback negotiation will fail to produce complete srcpad caps, and thus fail. https://bugzilla.gnome.org/show_bug.cgi?id=766289
This commit is contained in:
parent
41283361fa
commit
00d961a839
1 changed files with 2 additions and 1 deletions
|
@ -3382,7 +3382,8 @@ gst_amc_codec_info_to_caps (const GstAmcCodecInfo * codec_info,
|
|||
tmp = gst_structure_new ("audio/x-raw",
|
||||
"rate", GST_TYPE_INT_RANGE, 1, G_MAXINT,
|
||||
"channels", GST_TYPE_INT_RANGE, 1, G_MAXINT,
|
||||
"format", G_TYPE_STRING, GST_AUDIO_NE (S16), NULL);
|
||||
"format", G_TYPE_STRING, GST_AUDIO_NE (S16),
|
||||
"layout", G_TYPE_STRING, "interleaved", NULL);
|
||||
|
||||
raw_ret = gst_caps_merge_structure (raw_ret, tmp);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue