mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 01:00:37 +00:00
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
1 changed files with 0 additions and 2 deletions
|
@ -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…
Reference in a new issue