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:
Edward Hervey 2012-03-02 17:11:33 +01:00
parent a3ae51be29
commit 01f5f62d95

View file

@ -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);