diff --git a/ext/hls/gsthlsdemux.c b/ext/hls/gsthlsdemux.c index 2aa456b63e..d8578e7ba5 100644 --- a/ext/hls/gsthlsdemux.c +++ b/ext/hls/gsthlsdemux.c @@ -330,7 +330,6 @@ gst_hls_demux_seek (GstAdaptiveDemux * demux, GstEvent * seek) return FALSE; } //hlsdemux->discont = TRUE; - hlsdemux->new_playlist = TRUE; hlsdemux->do_typefind = TRUE; gst_hls_demux_change_playlist (hlsdemux, bitrate / ABS (rate), NULL); @@ -349,7 +348,6 @@ gst_hls_demux_seek (GstAdaptiveDemux * demux, GstEvent * seek) return FALSE; } //hlsdemux->discont = TRUE; - hlsdemux->new_playlist = TRUE; hlsdemux->do_typefind = TRUE; /* TODO why not continue using the same? that was being used up to now? */ gst_hls_demux_change_playlist (hlsdemux, bitrate, NULL); @@ -1048,7 +1046,6 @@ retry_failover_protection: GST_INFO_OBJECT (demux, "Client was on %dbps, max allowed is %dbps, switching" " to bitrate %dbps", old_bandwidth, max_bitrate, new_bandwidth); stream->discont = TRUE; - demux->new_playlist = TRUE; if (gst_hls_demux_update_playlist (demux, FALSE, NULL)) { gchar *uri; diff --git a/ext/hls/gsthlsdemux.h b/ext/hls/gsthlsdemux.h index f14dbd5f96..daa3670cef 100644 --- a/ext/hls/gsthlsdemux.h +++ b/ext/hls/gsthlsdemux.h @@ -69,11 +69,6 @@ struct _GstHLSDemux gchar *uri; /* Original playlist URI */ GstM3U8Client *client; /* M3U8 client */ gboolean do_typefind; /* Whether we need to typefind the next buffer */ - gboolean new_playlist; /* Whether a new playlist is about to start and pads should be switched */ - - - /* Streaming task */ - gint64 next_download; /* Cache for the last key */ gchar *key_url;