mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-20 23:36:38 +00:00
hlsdemux: Do not succeed a download if the fetcher had an error
This commit is contained in:
parent
e22c300be2
commit
6e9eeb7678
1 changed files with 1 additions and 1 deletions
|
@ -1021,7 +1021,7 @@ gst_hls_demux_fetch_location (GstHLSDemux * demux, const gchar * uri)
|
|||
|
||||
gst_hls_demux_stop_fetcher_locked (demux, FALSE);
|
||||
|
||||
if (gst_adapter_available (demux->download)) {
|
||||
if (!demux->fetcher_error && gst_adapter_available (demux->download)) {
|
||||
GST_INFO_OBJECT (demux, "URI fetched successfully");
|
||||
bret = TRUE;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue