mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 11:45:25 +00:00
audio-info: Always pass NULL as position parameter to gst_audio_info_set_format()
https://bugzilla.gnome.org/show_bug.cgi?id=700259
This commit is contained in:
parent
450a47c0a5
commit
be154ee9d6
1 changed files with 2 additions and 1 deletions
|
@ -234,7 +234,8 @@ gst_audio_info_from_caps (GstAudioInfo * info, const GstCaps * caps)
|
|||
goto invalid_channel_mask;
|
||||
}
|
||||
|
||||
gst_audio_info_set_format (info, format, rate, channels, position);
|
||||
gst_audio_info_set_format (info, format, rate, channels,
|
||||
(channels > 64) ? NULL : position);
|
||||
|
||||
return TRUE;
|
||||
|
||||
|
|
Loading…
Reference in a new issue