mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-31 03:29:50 +00:00
qtdemux: Allow edit lists on fragmented files on push mode
Fragmented files often use elst.duration=0 which before
ee78825eae
was wrongly interpreted as
having no frames.
Since that issue has now been fixed, there is no reason to disable edit
lists in fragmented files. This commit enables them, therefore producing
correct stream time for files containing edit lists.
https://bugzilla.gnome.org/show_bug.cgi?id=793058
This commit is contained in:
parent
5388d6e6a2
commit
c2a0da8096
1 changed files with 2 additions and 6 deletions
|
@ -6857,12 +6857,8 @@ gst_qtdemux_process_adapter (GstQTDemux * demux, gboolean force)
|
|||
|
||||
demux->got_moov = TRUE;
|
||||
|
||||
if (demux->fragmented) {
|
||||
gst_qtdemux_check_send_pending_segment (demux);
|
||||
} else {
|
||||
gst_event_replace (&demux->pending_newsegment, NULL);
|
||||
gst_qtdemux_map_and_push_segments (demux, &demux->segment);
|
||||
}
|
||||
gst_event_replace (&demux->pending_newsegment, NULL);
|
||||
gst_qtdemux_map_and_push_segments (demux, &demux->segment);
|
||||
|
||||
if (demux->moov_node_compressed) {
|
||||
g_node_destroy (demux->moov_node_compressed);
|
||||
|
|
Loading…
Reference in a new issue