projects
/
platform
/
upstream
/
gst-plugins-base.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
84b69fa
)
vorbisenc: fix channel mask
author
Wim Taymans
<wim.taymans@collabora.co.uk>
Wed, 11 Apr 2012 15:40:04 +0000
(17:40 +0200)
committer
Wim Taymans
<wim.taymans@collabora.co.uk>
Wed, 11 Apr 2012 15:40:04 +0000
(17:40 +0200)
ext/vorbis/gstvorbisenc.c
patch
|
blob
|
history
diff --git
a/ext/vorbis/gstvorbisenc.c
b/ext/vorbis/gstvorbisenc.c
index
3ba24d7
..
e9cd9fd
100644
(file)
--- 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",