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 14:44:49 +0000 (15:44 +0100)
commite85f8c8ab6c0a13d4581ae99c814e28bcd3a4569
treed5482d9c011c590dcce9d1998e164b5643791fd6
parentb0b916312589a5f27c974ac8357e7623a359526c
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