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:
parent
7ca6d9634a
commit
b6f2a962b5
@ -1450,7 +1450,6 @@ gst_adaptive_demux_stream_fragment_download_finish (GstAdaptiveDemuxStream *
|
|||||||
{
|
{
|
||||||
g_mutex_lock (&stream->fragment_download_lock);
|
g_mutex_lock (&stream->fragment_download_lock);
|
||||||
stream->download_finished = TRUE;
|
stream->download_finished = TRUE;
|
||||||
stream->last_ret = ret;
|
|
||||||
|
|
||||||
/* if we have an error, only replace last_ret if it was OK before to avoid
|
/* if we have an error, only replace last_ret if it was OK before to avoid
|
||||||
* overwriting the first error we got */
|
* overwriting the first error we got */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user