From b8344ea997ac89e318981e41e0fe8dd5f0bd631e Mon Sep 17 00:00:00 2001 From: Seungha Yang Date: Fri, 17 Mar 2017 15:34:33 +0900 Subject: [PATCH] m3u8: Fix parsing EXT-X-DISCONTINUITY EXT-X-DISCONTINUITY tag should have no trailing ":" character https://bugzilla.gnome.org/show_bug.cgi?id=780179 --- ext/hls/m3u8.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/hls/m3u8.c b/ext/hls/m3u8.c index 1687003552..cf277a7769 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:")) {