mpegtsdemux: Don't send new-segment with start time == -1
authorJan Schmidt <thaytan@noraisin.net>
Tue, 27 Oct 2009 22:08:42 +0000 (22:08 +0000)
committerJan Schmidt <thaytan@noraisin.net>
Thu, 29 Oct 2009 10:53:10 +0000 (10:53 +0000)
commit91499fd9a78c2175f6be64d655ab8bedfc86fc9e
treedc317dfd87ca039782f8b99c11e2c07f3fdd3356
parent23bcd2d7661e7504c4523df17e533991b79151ae
mpegtsdemux: Don't send new-segment with start time == -1

When sending new-segment to a stream, ensure that there is either a valid
PCR, or else wait until there's a PTS on the stream (dropping packets if
needed) in order to avoid generating an invlaid new-segments event.

https://bugzilla.gnome.org/show_bug.cgi?id=595161
gst/mpegdemux/gstmpegtsdemux.c