From c599e4a9a13ee354dcd13b2c7f2fe447f42ddc95 Mon Sep 17 00:00:00 2001 From: Andoni Morales Alastruey Date: Wed, 16 Feb 2011 03:51:08 +0100 Subject: [PATCH] hlsdemux: don't print an error if the download was cancelled --- gst/hls/gsthlsdemux.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/hls/gsthlsdemux.c b/gst/hls/gsthlsdemux.c index 67db0c11ed..35c68a4497 100644 --- a/gst/hls/gsthlsdemux.c +++ b/gst/hls/gsthlsdemux.c @@ -649,7 +649,7 @@ gst_hls_demux_update_thread (GstHLSDemux * demux) /* fetch the next fragment */ if (!gst_hls_demux_get_next_fragment (demux, TRUE)) { - if (!demux->end_of_playlist) + if (!demux->end_of_playlist && !demux->cancelled) GST_ERROR_OBJECT (demux, "Could not fetch the next fragment"); goto quit; } -- 2.34.1