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:
Sebastian Dröge 2016-08-04 14:42:34 +03:00
parent 2ed4135237
commit 947656cfd2

View file

@ -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,