mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-28 11:10:37 +00:00
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).
This commit is contained in:
parent
11d9c41a7d
commit
e953cf18fd
2 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
|||
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);
|
||||
|
|
Loading…
Reference in a new issue