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:
Ronald S. Bultje 2004-11-27 20:27:18 +00:00
parent f82d170175
commit 38367cf396
2 changed files with 7 additions and 2 deletions

View file

@ -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),

View file

@ -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;