mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-10-06 10:42:22 +00:00
vorbisenc: Properly generate the channel-mask on the sinkpad caps
This commit is contained in:
parent
bf66a410c1
commit
ba6d096d01
1 changed files with 1 additions and 1 deletions
|
@ -272,7 +272,7 @@ gst_vorbis_enc_generate_sink_caps (void)
|
||||||
const GstAudioChannelPosition *pos = gst_vorbis_channel_positions[i - 1];
|
const GstAudioChannelPosition *pos = gst_vorbis_channel_positions[i - 1];
|
||||||
|
|
||||||
for (c = 0; c < i; c++) {
|
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",
|
structure = gst_structure_new ("audio/x-raw",
|
||||||
|
|
Loading…
Reference in a new issue