baseparse: Send NEWSEGMENT event with correct start and position
authorJoshua M. Doe <josh@joshdoe.com>
Fri, 26 Mar 2010 17:19:00 +0000 (18:19 +0100)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Fri, 8 Apr 2011 17:07:06 +0000 (18:07 +0100)
commit017bb65d069a8944c356dc3f6735f327945497a2
treed211f658e3dc41204855b435b92a9395f9fbf5b9
parent7184fe911df77af0ec41eaee1b9dd6cb21e143ad
baseparse: Send NEWSEGMENT event with correct start and position

Instead of taking the last stop (which could be buffer endtime instead
of starttime) always take the buffer starttime.

Fixes bug #614016.
gst/audioparsers/gstbaseparse.c