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

This commit is contained in:
Andoni Morales Alastruey 2011-02-16 00:53:48 +01:00 committed by Sebastian Dröge
parent b765260098
commit 1450233a21

View 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)