mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 14:56:36 +00:00
dashdemux: When doing SIDX seeking, return instead of overriding the timestamp with 0 from the MPD seeking method
We don't need to call the latter at all as we're definitely in this period and the segment is selected via the SIDX. This is especially important when doing SNAP seeks, as otherwise we would always start from the beginning of the period (usually 0) again.
This commit is contained in:
parent
2ed4135237
commit
947656cfd2
1 changed files with 2 additions and 0 deletions
|
@ -1176,6 +1176,8 @@ gst_dash_demux_stream_seek (GstAdaptiveDemuxStream * stream, gboolean forward,
|
|||
/* FIXME - the final_ts won't be correct here */
|
||||
dashstream->pending_seek_ts = ts;
|
||||
}
|
||||
|
||||
return GST_FLOW_OK;
|
||||
}
|
||||
|
||||
gst_mpd_client_stream_seek (dashdemux->client, dashstream->active_stream,
|
||||
|
|
Loading…
Reference in a new issue