hlsdemux: only check for the end of playlist when the queue is empty
authorAndoni Morales Alastruey <ylatuya@gmail.com>
Tue, 15 Feb 2011 23:53:48 +0000 (00:53 +0100)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Wed, 30 Mar 2011 07:19:22 +0000 (09:19 +0200)
gst/hls/gsthlsdemux.c

index c3687850bee67b23281700a74cd011e46f208cae..3e48add088513403a9239fa559d4f840ca9211af 100644 (file)
@@ -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)