Commit e953cf18 authored by Tim-Philipp Müller's avatar Tim-Philipp Müller
Browse files

ext/alsa/gstalsa.c: Fix typo, so that alsasink also advertises 8 channels if...

ext/alsa/gstalsa.c: Fix typo, so that alsasink also advertises 8 channels if that's supported (tags: can, worms, open...

Original commit message from CVS:
* ext/alsa/gstalsa.c: (caps_add_channel_configuration):
Fix typo, so that alsasink also advertises 8 channels
if that's supported (tags: can, worms, open, alsa, ph34r).
parent 11d9c41a
2006-07-17 Tim-Philipp Müller <tim at centricular dot net>
* ext/alsa/gstalsa.c: (caps_add_channel_configuration):
Fix typo, so that alsasink also advertises 8 channels
if that's supported (tags: can, worms, open, alsa, ph34r).
2006-07-17 Wim Taymans <wim@fluendo.com>
 
* ext/ogg/gstoggdemux.c: (gst_ogg_pad_internal_chain),
......
......@@ -211,7 +211,7 @@ caps_add_channel_configuration (GstCaps * caps,
}
/* everything else (4, 6, 8 channels) needs a channel layout */
for (c = 4; c < 8; c += 2) {
for (c = 4; c <= 8; c += 2) {
if (max_chans >= c) {
s = get_channel_free_structure (in_structure);
gst_structure_set (s, "channels", G_TYPE_INT, c, NULL);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment