From 34d8ddd92d894aa8504f0d624b0bb1b7ad7127d2 Mon Sep 17 00:00:00 2001 From: Edward Hervey Date: Wed, 31 May 2017 10:58:39 +0200 Subject: [PATCH] dashdemux: Remove wrong assertion This is wrong because: * If the rate is negative we should check for the *previous* period * adaptivedemux already does the proper checks before calling this method --- ext/dash/gstdashdemux.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/ext/dash/gstdashdemux.c b/ext/dash/gstdashdemux.c index d78d144f39..bc4593c191 100644 --- a/ext/dash/gstdashdemux.c +++ b/ext/dash/gstdashdemux.c @@ -2562,8 +2562,6 @@ gst_dash_demux_advance_period (GstAdaptiveDemux * demux) { GstDashDemux *dashdemux = GST_DASH_DEMUX_CAST (demux); - g_return_if_fail (gst_mpd_client_has_next_period (dashdemux->client)); - if (demux->segment.rate >= 0) { if (!gst_mpd_client_set_period_index (dashdemux->client, gst_mpd_client_get_period_index (dashdemux->client) + 1)) { -- 2.34.1