gst-plugins-base: vorbisenc: fix channel mask
Wim Taymans
wtay at kemper.freedesktop.org
Wed Apr 11 08:40:49 PDT 2012
Module: gst-plugins-base
Branch: master
Commit: b2f0236319ca6f1a4dae020629c3fc2b83db49d4
URL: http://cgit.freedesktop.org/gstreamer/gst-plugins-base/commit/?id=b2f0236319ca6f1a4dae020629c3fc2b83db49d4
Author: Wim Taymans <wim.taymans at collabora.co.uk>
Date: Wed Apr 11 17:40:04 2012 +0200
vorbisenc: fix channel mask
---
ext/vorbis/gstvorbisenc.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/ext/vorbis/gstvorbisenc.c b/ext/vorbis/gstvorbisenc.c
index 3ba24d7..e9cd9fd 100644
--- a/ext/vorbis/gstvorbisenc.c
+++ b/ext/vorbis/gstvorbisenc.c
@@ -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",
More information about the gstreamer-commits
mailing list