hlsdemux: remove more unused attributes
authorThiago Santos <thiagoss@osg.samsung.com>
Wed, 27 May 2015 09:17:49 +0000 (06:17 -0300)
committerThiago Santos <thiagoss@osg.samsung.com>
Wed, 27 May 2015 09:17:49 +0000 (06:17 -0300)
Those are not used or only read

ext/hls/gsthlsdemux.c
ext/hls/gsthlsdemux.h

index 2aa456b..d8578e7 100644 (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;
index f14dbd5..daa3670 100644 (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;