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:
da30669
)
tsdemux: Reset pending_ts on a discont, to re-measure initial timestamps
author
Jan Schmidt
<jan@centricular.com>
Fri, 23 May 2014 05:07:19 +0000
(15:07 +1000)
committer
Jan Schmidt
<jan@centricular.com>
Wed, 4 Jun 2014 11:54:43 +0000
(21:54 +1000)
Since all the other timestamp tracking now gets reset on a discont,
it makes sense to wait for a PCR and timestamp buffers like when
playback first starts
gst/mpegtsdemux/tsdemux.c
patch
|
blob
|
history
diff --git
a/gst/mpegtsdemux/tsdemux.c
b/gst/mpegtsdemux/tsdemux.c
index
c7038c9
..
06cec8d
100644
(file)
--- a/
gst/mpegtsdemux/tsdemux.c
+++ b/
gst/mpegtsdemux/tsdemux.c
@@
-1229,6
+1229,7
@@
gst_ts_demux_stream_flush (TSDemuxStream * stream, GstTSDemux * tsdemux)
stream->first_dts = GST_CLOCK_TIME_NONE;
stream->raw_pts = -1;
stream->raw_dts = -1;
+ stream->pending_ts = TRUE;
stream->continuity_counter = CONTINUITY_UNSET;
}