diff options
author | Youness Alaoui <youness.alaoui@collabora.co.uk> | 2011-08-26 19:10:58 +0000 |
---|---|---|
committer | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2011-08-30 16:15:41 +0200 |
commit | 6e9eeb767839260773e111b3775717ed7c77b33a (patch) | |
tree | 46531012246076908dce21a7c1506e977f243ec0 | |
parent | e22c300be28893780d329969a96f688582571479 (diff) |
hlsdemux: Do not succeed a download if the fetcher had an error
-rw-r--r-- | gst/hls/gsthlsdemux.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/hls/gsthlsdemux.c b/gst/hls/gsthlsdemux.c index 6a01cd72c..d0331bf69 100644 --- a/gst/hls/gsthlsdemux.c +++ b/gst/hls/gsthlsdemux.c @@ -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; } |