mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 19:51:11 +00:00
vorbisenc: fix channel mask
This commit is contained in:
parent
84b69fa921
commit
b2f0236319
1 changed files with 1 additions and 1 deletions
|
@ -267,7 +267,7 @@ gst_vorbis_enc_generate_sink_caps (void)
|
|||
const GstAudioChannelPosition *pos = gst_vorbis_channel_positions[i - 1];
|
||||
|
||||
for (c = 0; c < i; c++) {
|
||||
channel_mask |= G_GUINT64_CONSTANT (1) << pos[i];
|
||||
channel_mask |= G_GUINT64_CONSTANT (1) << pos[c];
|
||||
}
|
||||
|
||||
structure = gst_structure_new ("audio/x-raw",
|
||||
|
|
Loading…
Reference in a new issue