m3u8: Fix parsing EXT-X-DISCONTINUITY
authorSeungha Yang <sh.yang@lge.com>
Fri, 17 Mar 2017 06:34:33 +0000 (15:34 +0900)
committerSebastian Dröge <sebastian@centricular.com>
Fri, 17 Mar 2017 10:13:40 +0000 (12:13 +0200)
EXT-X-DISCONTINUITY tag should have no trailing ":" character

https://bugzilla.gnome.org/show_bug.cgi?id=780179

ext/hls/m3u8.c

index 16870035521e247369b1cc9aed125e6358cd4832..cf277a776903c5544bba54a60c01d358a427c746 100644 (file)
@@ -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:")) {