resindvd: Don't send spurious 'close segment' events. Make a single segment
authorJan Schmidt <thaytan@noraisin.net>
Mon, 17 Sep 2012 15:13:36 +0000 (01:13 +1000)
committerJan Schmidt <thaytan@noraisin.net>
Wed, 26 Sep 2012 04:57:54 +0000 (14:57 +1000)
commit34510b71ca7209e322d2cb32ec2ff167bee701d3
tree061153ca45a3c404db90fbee102897d0440e181a
parenta5e92acee975166538dd3927d47439ebf73f5971
resindvd: Don't send spurious 'close segment' events. Make a single segment

With the new 1.0 segment semantics, there's no need to close the
previous segment before sending out a new one, so don't do it.

Also, adjust the outgoing segment to just be one contiguous
timeline, with a base of 0. Fixes some repeating timestamps when
segments change.
ext/resindvd/gstmpegdemux.c