mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 14:56:36 +00:00
qtdemux: properly transform incoming segment event
... which is really useful for proper push mode seeking. Fixes https://bugzilla.gnome.org/show_bug.cgi?id=680278
This commit is contained in:
parent
6dbc6ad3cf
commit
7247d136e5
1 changed files with 2 additions and 1 deletions
|
@ -1661,7 +1661,8 @@ gst_qtdemux_handle_sink_event (GstPad * sinkpad, GstObject * parent,
|
|||
}
|
||||
|
||||
/* accept upstream's notion of segment and distribute along */
|
||||
segment.time = segment.start;
|
||||
segment.format = GST_FORMAT_TIME;
|
||||
segment.position = segment.time = segment.start;
|
||||
segment.duration = demux->segment.duration;
|
||||
segment.base = gst_segment_to_running_time (&demux->segment,
|
||||
GST_FORMAT_TIME, demux->segment.position);
|
||||
|
|
Loading…
Reference in a new issue