gst-plugins-bad: hlsdemux: only check for the end of playlist when the queue is empty

Sebastian Dröge slomo at kemper.freedesktop.org
Wed Mar 30 01:07:41 PDT 2011


Module: gst-plugins-bad
Branch: master
Commit: 1450233a21f62133ace4b8b5c919100c28758458
URL:    http://cgit.freedesktop.org/gstreamer/gst-plugins-bad/commit/?id=1450233a21f62133ace4b8b5c919100c28758458

Author: Andoni Morales Alastruey <ylatuya at gmail.com>
Date:   Wed Feb 16 00:53:48 2011 +0100

hlsdemux: only check for the end of playlist when the queue is empty

---

 gst/hls/gsthlsdemux.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/gst/hls/gsthlsdemux.c b/gst/hls/gsthlsdemux.c
index c368785..3e48add 100644
--- a/gst/hls/gsthlsdemux.c
+++ b/gst/hls/gsthlsdemux.c
@@ -491,10 +491,6 @@ gst_hls_demux_loop (GstHLSDemux * demux)
     GST_TASK_WAIT (demux->task);
   }
 
-  if (demux->end_of_playlist) {
-    goto end_of_playlist;
-  }
-
   buf = g_queue_pop_head (demux->queue);
   ret = gst_pad_push (demux->srcpad, buf);
   if (ret != GST_FLOW_OK)



More information about the gstreamer-commits mailing list