hlsdemux: Do not succeed a download if the fetcher had an error

This commit is contained in:
Youness Alaoui 2011-08-26 19:10:58 +00:00 committed by Sebastian Dröge
parent e22c300be2
commit 6e9eeb7678

View file

@ -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;
}