From e953cf18fdafc8e691e214394a3481bbff77ff06 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Mon, 17 Jul 2006 12:33:42 +0000 Subject: [PATCH] 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). --- ChangeLog | 6 ++++++ ext/alsa/gstalsa.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 0414dc8db5..96d4fec962 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2006-07-17 Tim-Philipp Müller + + * 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 * ext/ogg/gstoggdemux.c: (gst_ogg_pad_internal_chain), diff --git a/ext/alsa/gstalsa.c b/ext/alsa/gstalsa.c index 0e48eb31cd..e91d479045 100644 --- a/ext/alsa/gstalsa.c +++ b/ext/alsa/gstalsa.c @@ -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);