projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f78b37e
)
hls: if media sequence is not specified, use 0
author
Thiago Santos
<thiagoss@osg.samsung.com>
Fri, 4 Sep 2015 21:40:18 +0000
(18:40 -0300)
committer
Thiago Santos
<thiagoss@osg.samsung.com>
Thu, 15 Oct 2015 00:33:27 +0000
(21:33 -0300)
Allows playlists that are missing the mediasequence information to
be correctly parsed. If the playlist was updated without reseting
the mediasequence it would constantly increase over subsequent updates,
leading to issues during playback.
ext/hls/m3u8.c
patch
|
blob
|
history
diff --git
a/ext/hls/m3u8.c
b/ext/hls/m3u8.c
index 0855b42238cb06d6b932002b772196d44afa1b33..20fdf32142532e2cb0e1bc7a8e5bcdc2d9c3ef3e 100644
(file)
--- a/
ext/hls/m3u8.c
+++ b/
ext/hls/m3u8.c
@@
-409,6
+409,7
@@
gst_m3u8_update (GstM3U8Client * client, GstM3U8 * self, gchar * data,
self->files = NULL;
}
client->duration = GST_CLOCK_TIME_NONE;
+ self->mediasequence = 0;
/* By default, allow caching */
self->allowcache = TRUE;