mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 11:45:25 +00:00
avidemux: also determine duration in push mode
This commit is contained in:
parent
e967767b27
commit
92dd51e511
1 changed files with 3 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue