projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1317811
)
vorbisdec: use right channel variable
author
Wim Taymans
<wim.taymans@collabora.co.uk>
Thu, 5 Jan 2012 11:32:06 +0000
(12:32 +0100)
committer
Wim Taymans
<wim.taymans@collabora.co.uk>
Thu, 5 Jan 2012 11:32:06 +0000
(12:32 +0100)
ext/vorbis/gstvorbisdec.c
patch
|
blob
|
history
diff --git
a/ext/vorbis/gstvorbisdec.c
b/ext/vorbis/gstvorbisdec.c
index
1683f45
..
cdf7223
100644
(file)
--- a/
ext/vorbis/gstvorbisdec.c
+++ b/
ext/vorbis/gstvorbisdec.c
@@
-229,7
+229,7
@@
vorbis_handle_identification_packet (GstVorbisDec * vd)
GstCaps *caps;
GstAudioInfo info;
- switch (
info
.channels) {
+ switch (
vd->vi
.channels) {
case 1:
case 2:
case 3:
@@
-241,7
+241,7
@@
vorbis_handle_identification_packet (GstVorbisDec * vd)
{
const GstAudioChannelPosition *pos;
- pos = gst_vorbis_default_channel_positions[
info
.channels - 1];
+ pos = gst_vorbis_default_channel_positions[
vd->vi
.channels - 1];
gst_audio_info_set_format (&info, GST_VORBIS_AUDIO_FORMAT, vd->vi.rate,
vd->vi.channels, pos);
break;