diff --git a/subprojects/gst-plugins-good/ext/adaptivedemux2/hls/m3u8.c b/subprojects/gst-plugins-good/ext/adaptivedemux2/hls/m3u8.c index 4744db0c04..d1affe5d7d 100644 --- a/subprojects/gst-plugins-good/ext/adaptivedemux2/hls/m3u8.c +++ b/subprojects/gst-plugins-good/ext/adaptivedemux2/hls/m3u8.c @@ -1154,6 +1154,9 @@ gst_hls_media_playlist_parse (gchar * data, } else if (g_str_has_prefix (data_ext_x, "SKIP:")) { data += strlen ("#EXT-X-SKIP:"); parse_skip_tag (self, data); + /* Increment the current MSN by the number + * of segments that were removed */ + mediasequence += self->skipped_segments; } else { GST_LOG ("Ignored line: %s", data); }