From: Mark Nauwelaerts Date: Wed, 14 Oct 2009 09:55:33 +0000 (+0200) Subject: avidemux: also determine duration in push mode X-Git-Tag: 1.19.3~509^2~9539 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=92dd51e511afb8a0bb9051589158c8046021d338;p=platform%2Fupstream%2Fgstreamer.git avidemux: also determine duration in push mode --- diff --git a/gst/avi/gstavidemux.c b/gst/avi/gstavidemux.c index 3ea5f0c..9d47f9e 100644 --- a/gst/avi/gstavidemux.c +++ b/gst/avi/gstavidemux.c @@ -2776,6 +2776,9 @@ skipping_done: GST_DEBUG ("Found movi chunk. Starting to stream data"); avi->state = GST_AVI_DEMUX_MOVI; + /* no indexes in push mode, but it still sets some variables */ + gst_avi_demux_calculate_durations_from_index (avi); + /* create initial NEWSEGMENT event */ if ((stop = avi->segment.stop) == GST_CLOCK_TIME_NONE) stop = avi->segment.duration;