adaptivedemux: fix header redownload in case of errors
https://bugzilla.gnome.org/show_bug.cgi?id=756239
This commit is contained in:
parent
e0ef335426
commit
a85b64bb6d
@ -2395,10 +2395,10 @@ gst_adaptive_demux_stream_download_fragment (GstAdaptiveDemuxStream * stream)
|
|||||||
|
|
||||||
if (stream->need_header) {
|
if (stream->need_header) {
|
||||||
ret = gst_adaptive_demux_stream_download_header_fragment (stream);
|
ret = gst_adaptive_demux_stream_download_header_fragment (stream);
|
||||||
stream->need_header = FALSE;
|
|
||||||
if (ret != GST_FLOW_OK) {
|
if (ret != GST_FLOW_OK) {
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
stream->need_header = FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
url = stream->fragment.uri;
|
url = stream->fragment.uri;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user