From 947656cfd22b75f914d5abe0af82396787f67564 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Thu, 4 Aug 2016 14:42:34 +0300 Subject: [PATCH] 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. --- ext/dash/gstdashdemux.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ext/dash/gstdashdemux.c b/ext/dash/gstdashdemux.c index cba70b3979..7cda8f87ea 100644 --- a/ext/dash/gstdashdemux.c +++ b/ext/dash/gstdashdemux.c @@ -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,