From a85b64bb6d024254b2f378b96a9d93bbb3df0121 Mon Sep 17 00:00:00 2001 From: Florin Apostol Date: Thu, 8 Oct 2015 12:35:44 +0100 Subject: [PATCH] adaptivedemux: fix header redownload in case of errors https://bugzilla.gnome.org/show_bug.cgi?id=756239 --- gst-libs/gst/adaptivedemux/gstadaptivedemux.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst-libs/gst/adaptivedemux/gstadaptivedemux.c b/gst-libs/gst/adaptivedemux/gstadaptivedemux.c index 6ab6138a9c..e3f563b170 100644 --- a/gst-libs/gst/adaptivedemux/gstadaptivedemux.c +++ b/gst-libs/gst/adaptivedemux/gstadaptivedemux.c @@ -2395,10 +2395,10 @@ gst_adaptive_demux_stream_download_fragment (GstAdaptiveDemuxStream * stream) if (stream->need_header) { ret = gst_adaptive_demux_stream_download_header_fragment (stream); - stream->need_header = FALSE; if (ret != GST_FLOW_OK) { return ret; } + stream->need_header = FALSE; } url = stream->fragment.uri;