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
This commit is contained in:
parent
417c70805b
commit
34d8ddd92d
@ -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)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user