From aa959152d139a609371b40b9b2fd39cee16cf942 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Tue, 13 May 2008 08:21:26 +0000 Subject: 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. --- ext/speex/gstspeexdec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext') diff --git a/ext/speex/gstspeexdec.c b/ext/speex/gstspeexdec.c index c0cba930..a42de618 100644 --- a/ext/speex/gstspeexdec.c +++ b/ext/speex/gstspeexdec.c @@ -466,7 +466,7 @@ speex_dec_sink_event (GstPad * pad, GstEvent * event) if (dec->segment.last_stop < start) { 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, duration); } -- cgit