mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
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:
parent
bbb0490685
commit
f82d170175
2 changed files with 10 additions and 2 deletions
|
@ -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),
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue