diff options
author | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2012-01-27 17:10:35 +0100 |
---|---|---|
committer | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2012-01-27 17:10:35 +0100 |
commit | ba6d096d0193a20f15fcb1ff920ea479cd96e79d (patch) | |
tree | be735aa286a2f803a73f52e1e68c6faf2e4e0653 | |
parent | bf66a410c1141003d9e3e775a1d52b48b09dcdc2 (diff) |
vorbisenc: Properly generate the channel-mask on the sinkpad caps
-rw-r--r-- | 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 0e4156c59..44ea535de 100644 --- a/ext/vorbis/gstvorbisenc.c +++ b/ext/vorbis/gstvorbisenc.c @@ -272,7 +272,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 |= pos[i]; + channel_mask |= G_GUINT64_CONSTANT (1) << pos[i]; } structure = gst_structure_new ("audio/x-raw", |