mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-20 23:36:38 +00:00
avcodecmap: Correctly convert GStreamer channel positions to libav channel mask
This commit is contained in:
parent
a6ede95de7
commit
0ec5fea211
1 changed files with 1 additions and 1 deletions
|
@ -80,7 +80,7 @@ gst_ffmpeg_channel_positions_to_layout (GstAudioChannelPosition * pos,
|
|||
for (i = 0; i < channels; i++) {
|
||||
for (j = 0; j < G_N_ELEMENTS (_ff_to_gst_layout); j++) {
|
||||
if (_ff_to_gst_layout[j].gst == pos[i]) {
|
||||
ret |= _ff_to_gst_layout[i].ff;
|
||||
ret |= _ff_to_gst_layout[j].ff;
|
||||
channels_found++;
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue