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:
a3ae51b
)
tsdemux: Fix segment start position
author
Edward Hervey
<edward.hervey@collabora.co.uk>
Fri, 2 Mar 2012 16:11:33 +0000
(17:11 +0100)
committer
Edward Hervey
<edward.hervey@collabora.co.uk>
Fri, 2 Mar 2012 16:19:45 +0000
(17:19 +0100)
If we *really* can't figure out the first start position, that most
likely means the data to push out doesn't have any timestamp.
Use a default value of 0 then
gst/mpegtsdemux/tsdemux.c
patch
|
blob
|
history
diff --git
a/gst/mpegtsdemux/tsdemux.c
b/gst/mpegtsdemux/tsdemux.c
index 6e9107b10e93efb6e21bc3e6cc62db54a57dc29d..9bb05cd5b9406807c406c1c093196df7520047c6 100644
(file)
--- a/
gst/mpegtsdemux/tsdemux.c
+++ b/
gst/mpegtsdemux/tsdemux.c
@@
-1357,7
+1357,7
@@
calculate_and_push_newsegment (GstTSDemux * demux, TSDemuxStream * stream)
{
MpegTSBase *base = (MpegTSBase *) demux;
GstClockTime lowest_pts = GST_CLOCK_TIME_NONE;
- GstClockTime firstts =
GST_CLOCK_TIME_NONE
;
+ GstClockTime firstts =
0
;
GList *tmp;
GST_DEBUG ("Creating new newsegment for stream %p", stream);