mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 18:21:04 +00:00
tsdemux: Fix segment start position
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
This commit is contained in:
parent
a3ae51be29
commit
01f5f62d95
1 changed files with 1 additions and 1 deletions
|
@ -1357,7 +1357,7 @@ calculate_and_push_newsegment (GstTSDemux * demux, TSDemuxStream * stream)
|
||||||
{
|
{
|
||||||
MpegTSBase *base = (MpegTSBase *) demux;
|
MpegTSBase *base = (MpegTSBase *) demux;
|
||||||
GstClockTime lowest_pts = GST_CLOCK_TIME_NONE;
|
GstClockTime lowest_pts = GST_CLOCK_TIME_NONE;
|
||||||
GstClockTime firstts = GST_CLOCK_TIME_NONE;
|
GstClockTime firstts = 0;
|
||||||
GList *tmp;
|
GList *tmp;
|
||||||
|
|
||||||
GST_DEBUG ("Creating new newsegment for stream %p", stream);
|
GST_DEBUG ("Creating new newsegment for stream %p", stream);
|
||||||
|
|
Loading…
Reference in a new issue