hlsdemux: reset end_of_playlist attribute when we receive a seek

https://bugzilla.gnome.org/show_bug.cgi?id=738696
This commit is contained in:
Matthieu Bouron 2014-10-21 12:39:14 +02:00 committed by Sebastian Dröge
parent aec1f2a001
commit 7fb584b087

View file

@ -482,6 +482,7 @@ gst_hls_demux_src_event (GstPad * pad, GstObject * parent, GstEvent * event)
demux->discont = TRUE;
demux->new_playlist = TRUE;
demux->do_typefind = TRUE;
demux->end_of_playlist = FALSE;
gst_hls_demux_change_playlist (demux,
demux->current_download_rate * demux->bitrate_limit / ABS (rate));
@ -509,6 +510,7 @@ gst_hls_demux_src_event (GstPad * pad, GstObject * parent, GstEvent * event)
demux->discont = TRUE;
demux->new_playlist = TRUE;
demux->do_typefind = TRUE;
demux->end_of_playlist = FALSE;
gst_hls_demux_change_playlist (demux,
demux->current_download_rate * demux->bitrate_limit);