mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-05 15:08:53 +00:00
ext/speex/gstspeexdec.c: Fix the calculation of the duration of the concealment packets.
Original commit message from CVS: * ext/speex/gstspeexdec.c: (speex_dec_sink_event): Fix the calculation of the duration of the concealment packets.
This commit is contained in:
parent
894206be3d
commit
aa959152d1
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2008-05-13 Wim Taymans <wim.taymans@collabora.co.uk>
|
||||||
|
|
||||||
|
* ext/speex/gstspeexdec.c: (speex_dec_sink_event):
|
||||||
|
Fix the calculation of the duration of the concealment packets.
|
||||||
|
|
||||||
2008-05-12 Wim Taymans <wim.taymans@collabora.co.uk>
|
2008-05-12 Wim Taymans <wim.taymans@collabora.co.uk>
|
||||||
|
|
||||||
Based on patch by: Olivier Crete <tester at tester dot ca>
|
Based on patch by: Olivier Crete <tester at tester dot ca>
|
||||||
|
|
|
@ -466,7 +466,7 @@ speex_dec_sink_event (GstPad * pad, GstEvent * event)
|
||||||
if (dec->segment.last_stop < start) {
|
if (dec->segment.last_stop < start) {
|
||||||
GstClockTime duration;
|
GstClockTime duration;
|
||||||
|
|
||||||
duration = dec->segment.last_stop - start;
|
duration = start - dec->segment.last_stop;
|
||||||
speex_dec_chain_parse_data (dec, NULL, dec->segment.last_stop,
|
speex_dec_chain_parse_data (dec, NULL, dec->segment.last_stop,
|
||||||
duration);
|
duration);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue