summaryrefslogtreecommitdiff
path: root/gst/hls/m3u8.c
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim.muller@collabora.co.uk>2011-04-15 00:09:14 +0100
committerTim-Philipp Müller <tim.muller@collabora.co.uk>2011-04-15 00:24:47 +0100
commit5d6bdf605207dcd31c830fc213f71161cd2f6f5c (patch)
tree5f9a7eaa6fbb0946acaadafaefae6ab53586338c /gst/hls/m3u8.c
parentfb0222ea67322a4e743593a3ed6741571d5aede7 (diff)
downloadgstreamer-plugins-bad-5d6bdf605207dcd31c830fc213f71161cd2f6f5c.tar.gz
Fix some unused-but-set-variable warnings with gcc 4.6
Diffstat (limited to 'gst/hls/m3u8.c')
-rw-r--r--gst/hls/m3u8.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gst/hls/m3u8.c b/gst/hls/m3u8.c
index 58eb15f41..4346c2776 100644
--- a/gst/hls/m3u8.c
+++ b/gst/hls/m3u8.c
@@ -179,7 +179,7 @@ gst_m3u8_update (GstM3U8 * self, gchar * data, gboolean * updated)
{
gint val, duration;
gchar *title, *end;
- gboolean discontinuity;
+// gboolean discontinuity;
GstM3U8 *list;
g_return_val_if_fail (self != NULL, FALSE);
@@ -309,7 +309,7 @@ gst_m3u8_update (GstM3U8 * self, gchar * data, gboolean * updated)
if (int_from_string (data + 22, &data, &val))
self->mediasequence = val;
} else if (g_str_has_prefix (data, "#EXT-X-DISCONTINUITY")) {
- discontinuity = TRUE;
+ /* discontinuity = TRUE; */
} else if (g_str_has_prefix (data, "#EXT-X-PROGRAM-DATE-TIME:")) {
/* <YYYY-MM-DDThh:mm:ssZ> */
GST_DEBUG ("FIXME parse date");