qtdemux: Allow edit lists on fragmented files on push mode
Fragmented files often use elst.duration=0 which before ee78825eaef2c5fffac7d6c5526fe18cec6b3eef 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
@ -6857,12 +6857,8 @@ gst_qtdemux_process_adapter (GstQTDemux * demux, gboolean force)
|
|||||||
|
|
||||||
demux->got_moov = TRUE;
|
demux->got_moov = TRUE;
|
||||||
|
|
||||||
if (demux->fragmented) {
|
gst_event_replace (&demux->pending_newsegment, NULL);
|
||||||
gst_qtdemux_check_send_pending_segment (demux);
|
gst_qtdemux_map_and_push_segments (demux, &demux->segment);
|
||||||
} else {
|
|
||||||
gst_event_replace (&demux->pending_newsegment, NULL);
|
|
||||||
gst_qtdemux_map_and_push_segments (demux, &demux->segment);
|
|
||||||
}
|
|
||||||
|
|
||||||
if (demux->moov_node_compressed) {
|
if (demux->moov_node_compressed) {
|
||||||
g_node_destroy (demux->moov_node_compressed);
|
g_node_destroy (demux->moov_node_compressed);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user