From b6f2a962b55c4eeaf034a755e77bf40d8feafb9c Mon Sep 17 00:00:00 2001 From: Mathieu Duponchelle Date: Thu, 5 Feb 2015 18:10:15 +0100 Subject: [PATCH] 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 --- gst-libs/gst/adaptivedemux/gstadaptivedemux.c | 1 - 1 file changed, 1 deletion(-) diff --git a/gst-libs/gst/adaptivedemux/gstadaptivedemux.c b/gst-libs/gst/adaptivedemux/gstadaptivedemux.c index ab040216b6..8378d4af8a 100644 --- a/gst-libs/gst/adaptivedemux/gstadaptivedemux.c +++ b/gst-libs/gst/adaptivedemux/gstadaptivedemux.c @@ -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 */