Commit f801e7d7 authored by Francois Cartegnie's avatar Francois Cartegnie

demux: dash: make playlist update failure non fatal

parent a3195dae
......@@ -83,6 +83,7 @@ bool DASHManager::updatePlaylist()
if(!mpdstream)
{
free(p_data);
nextPlaylistupdate = now + playlist->minUpdatePeriod.Get();
return false;
}
......@@ -90,6 +91,7 @@ bool DASHManager::updatePlaylist()
if(!parser.parse())
{
stream_Delete(mpdstream);
nextPlaylistupdate = now + playlist->minUpdatePeriod.Get();
return false;
}
......
......@@ -202,7 +202,7 @@ static int Demux(demux_t *p_demux)
}
if( !p_sys->p_dashManager->updatePlaylist() )
return VLC_DEMUXER_EOF;
msg_Warn(p_demux, "Can't update MPD");
return VLC_DEMUXER_SUCCESS;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment