adaptivedemux: Fix logic in fragment_download_finish.

This was preventing us from surfacing a meaningful error.

https://bugzilla.gnome.org/show_bug.cgi?id=743703
This commit is contained in:
Mathieu Duponchelle 2015-02-05 18:10:15 +01:00
parent 7ca6d9634a
commit b6f2a962b5

View file

@ -1450,7 +1450,6 @@ gst_adaptive_demux_stream_fragment_download_finish (GstAdaptiveDemuxStream *
{
g_mutex_lock (&stream->fragment_download_lock);
stream->download_finished = TRUE;
stream->last_ret = ret;
/* if we have an error, only replace last_ret if it was OK before to avoid
* overwriting the first error we got */