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:
e8a3973
)
hlsdemux: set timestamp on discont buffers
author
Thiago Santos
<thiagoss@osg.samsung.com>
Tue, 3 Mar 2015 20:47:51 +0000
(17:47 -0300)
committer
Thiago Santos
<thiagoss@osg.samsung.com>
Wed, 4 Mar 2015 11:00:48 +0000
(08:00 -0300)
Make sure discont buffers have its timestamp set to allow downstream
to resync if needed
ext/hls/gsthlsdemux.c
patch
|
blob
|
history
diff --git
a/ext/hls/gsthlsdemux.c
b/ext/hls/gsthlsdemux.c
index
43b8f0a
..
fad5a7b
100644
(file)
--- a/
ext/hls/gsthlsdemux.c
+++ b/
ext/hls/gsthlsdemux.c
@@
-720,7
+720,7
@@
gst_hls_demux_update_fragment_info (GstAdaptiveDemuxStream * stream)
}
/* set up our source for download */
- if (hlsdemux->reset_pts) {
+ if (hlsdemux->reset_pts
|| discont
) {
stream->fragment.timestamp = timestamp;
} else {
stream->fragment.timestamp = GST_CLOCK_TIME_NONE;