videomixer: add mix->segment.start to output_end_time
authorMathieu Duponchelle <mathieu.duponchelle@epitech.eu>
Tue, 11 Jun 2013 17:22:20 +0000 (19:22 +0200)
committerSebastian Dröge <slomo@circular-chaos.org>
Tue, 11 Jun 2013 19:03:03 +0000 (21:03 +0200)
commit4243714301e24e2f79bacb30f76e1040d1b369fa
treed1fbec91363815939969416f9dedca0daa971d7a
parente2b46a776f365a86c6f48f14294ebce6515ce41c
videomixer: add mix->segment.start to output_end_time

When the segment start is not 0, this created a situation where
the output_end_time is inferior to output_start_time, and the duration
of the next buffer ended up underflowing.

https://bugzilla.gnome.org/show_bug.cgi?id=701385
gst/videomixer/videomixer2.c