ext/a52dec/gsta52dec.c: Don't do sample adjusting anymore, we use float audio now.

Original commit message from CVS:
* ext/a52dec/gsta52dec.c: (gst_a52dec_loop),
(gst_a52dec_change_state):
Don't do sample adjusting anymore, we use float audio now.
* gst/audioconvert/gstaudioconvert.c: (gst_audio_convert_fixate):
Don't fixate to non-existing properties.
This commit is contained in:
Ronald S. Bultje 2004-11-27 20:22:42 +00:00
parent bbb0490685
commit f82d170175
2 changed files with 10 additions and 2 deletions

View file

@ -1,3 +1,11 @@
2004-11-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
* ext/a52dec/gsta52dec.c: (gst_a52dec_loop),
(gst_a52dec_change_state):
Don't do sample adjusting anymore, we use float audio now.
* gst/audioconvert/gstaudioconvert.c: (gst_audio_convert_fixate):
Don't fixate to non-existing properties.
2004-11-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net> 2004-11-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
* ext/a52dec/gsta52dec.c: (gst_a52dec_channels), * ext/a52dec/gsta52dec.c: (gst_a52dec_channels),

View file

@ -424,7 +424,7 @@ gst_a52dec_loop (GstElement * element)
} }
/* process */ /* process */
flags = a52dec->request_channels | A52_ADJUST_LEVEL; flags = a52dec->request_channels; /* | A52_ADJUST_LEVEL; */
a52dec->level = 1; a52dec->level = 1;
if (a52_frame (a52dec->state, data, &flags, &a52dec->level, a52dec->bias)) { if (a52_frame (a52dec->state, data, &flags, &a52dec->level, a52dec->bias)) {
@ -501,7 +501,7 @@ gst_a52dec_change_state (GstElement * element)
a52dec->request_channels = A52_3F2R | A52_LFE; a52dec->request_channels = A52_3F2R | A52_LFE;
a52dec->using_channels = A52_CHANNEL; a52dec->using_channels = A52_CHANNEL;
a52dec->level = 1; a52dec->level = 1;
a52dec->bias = 384; a52dec->bias = 0;
a52dec->last_ts = 0; a52dec->last_ts = 0;
a52dec->current_ts = 0; a52dec->current_ts = 0;
a52dec->last_timestamp = 0; a52dec->last_timestamp = 0;