summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeungha Yang <sh.yang@lge.com>2017-03-17 15:34:33 +0900
committerSebastian Dröge <sebastian@centricular.com>2017-03-17 12:13:40 +0200
commitb8344ea997ac89e318981e41e0fe8dd5f0bd631e (patch)
treed2386b631de0a0749662d5c796a203b5aab3e62c
parent16dd0e693db125511a595dc02f7b33cf3411e6a4 (diff)
downloadgstreamer-plugins-bad-b8344ea997ac89e318981e41e0fe8dd5f0bd631e.tar.gz
m3u8: Fix parsing EXT-X-DISCONTINUITY
EXT-X-DISCONTINUITY tag should have no trailing ":" character https://bugzilla.gnome.org/show_bug.cgi?id=780179
-rw-r--r--ext/hls/m3u8.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/hls/m3u8.c b/ext/hls/m3u8.c
index 168700355..cf277a776 100644
--- a/ext/hls/m3u8.c
+++ b/ext/hls/m3u8.c
@@ -605,7 +605,7 @@ gst_m3u8_update (GstM3U8 * self, gchar * data)
self->discont_sequence = val;
discontinuity = TRUE;
}
- } else if (g_str_has_prefix (data_ext_x, "DISCONTINUITY:")) {
+ } else if (g_str_has_prefix (data_ext_x, "DISCONTINUITY")) {
self->discont_sequence++;
discontinuity = TRUE;
} else if (g_str_has_prefix (data_ext_x, "PROGRAM-DATE-TIME:")) {