mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-03 15:06:34 +00:00
ext/a52dec/gsta52dec.c: Don't forget bass if it's there. Else left channel is silent...
Original commit message from CVS: * ext/a52dec/gsta52dec.c: (gst_a52dec_loop): Don't forget bass if it's there. Else left channel is silent...
This commit is contained in:
parent
f82d170175
commit
38367cf396
2 changed files with 7 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
|||
2004-11-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
|
||||
|
||||
* ext/a52dec/gsta52dec.c: (gst_a52dec_loop):
|
||||
Don't forget bass if it's there. Else left channel is silent...
|
||||
|
||||
2004-11-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
|
||||
|
||||
* ext/a52dec/gsta52dec.c: (gst_a52dec_loop),
|
||||
|
|
|
@ -400,7 +400,7 @@ gst_a52dec_loop (GstElement * element)
|
|||
a52dec->sample_rate = sample_rate;
|
||||
}
|
||||
|
||||
a52dec->stream_channels = flags & A52_CHANNEL_MASK;
|
||||
a52dec->stream_channels = flags & (A52_CHANNEL_MASK | A52_LFE);
|
||||
|
||||
if (bit_rate != a52dec->bit_rate) {
|
||||
a52dec->bit_rate = bit_rate;
|
||||
|
@ -432,7 +432,7 @@ gst_a52dec_loop (GstElement * element)
|
|||
goto end;
|
||||
}
|
||||
|
||||
channels = flags & A52_CHANNEL_MASK;
|
||||
channels = flags & (A52_CHANNEL_MASK | A52_LFE);
|
||||
|
||||
if (a52dec->using_channels != channels) {
|
||||
need_reneg = TRUE;
|
||||
|
|
Loading…
Reference in a new issue