hlsdemux: remove more unused attributes

Those are not used or only read
This commit is contained in:
Thiago Santos 2015-05-27 06:17:49 -03:00
parent 030700a24b
commit 6f1c58dedf
2 changed files with 0 additions and 8 deletions

View file

@ -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;

View file

@ -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;