dash: Actually retry 3 times as advertised instead of 2

This commit is contained in:
Sebastian Dröge 2014-09-15 11:59:32 +03:00
parent d4a53a16dd
commit 1ce7d89868

View file

@ -1616,7 +1616,7 @@ gst_dash_demux_stream_download_loop (GstDashDemuxStream * stream)
demux->client->update_failed_count++;
}
if (demux->client->update_failed_count < DEFAULT_FAILED_COUNT) {
if (demux->client->update_failed_count <= DEFAULT_FAILED_COUNT) {
GST_WARNING_OBJECT (stream->pad, "Could not fetch the next fragment");
goto quit;
} else {