mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 06:46:38 +00:00
qtdemux: mark segment as sent after pushing when moov is received
Otherwise we would try to send it a second time if the same moov is received or in any other situation that might trigger segment sending. https://bugzilla.gnome.org/show_bug.cgi?id=752603
This commit is contained in:
parent
0de143fa3e
commit
ae7b531902
1 changed files with 2 additions and 0 deletions
|
@ -6901,6 +6901,8 @@ gst_qtdemux_process_adapter (GstQTDemux * demux, gboolean force)
|
|||
demux->got_moov = TRUE;
|
||||
demux->need_segment = TRUE;
|
||||
gst_qtdemux_map_and_push_segments (demux, &demux->segment);
|
||||
if (demux->exposed)
|
||||
demux->need_segment = FALSE;
|
||||
|
||||
if (demux->moov_node_compressed) {
|
||||
g_node_destroy (demux->moov_node_compressed);
|
||||
|
|
Loading…
Reference in a new issue