From: Sebastian Dröge Date: Fri, 27 Jan 2012 16:10:35 +0000 (+0100) Subject: vorbisenc: Properly generate the channel-mask on the sinkpad caps X-Git-Tag: RELEASE-0.11.2~99 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ba6d096d0193a20f15fcb1ff920ea479cd96e79d;p=platform%2Fupstream%2Fgst-plugins-base.git vorbisenc: Properly generate the channel-mask on the sinkpad caps --- diff --git a/ext/vorbis/gstvorbisenc.c b/ext/vorbis/gstvorbisenc.c index 0e4156c..44ea535 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",