flacdec: don't send second newsegment event in framed mode, fixes long playback delay
authorTim-Philipp Müller <tim.muller@collabora.co.uk>
Mon, 8 Mar 2010 16:47:04 +0000 (16:47 +0000)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Mon, 8 Mar 2010 17:10:31 +0000 (17:10 +0000)
commitde56a874ae02a7335239fad5c6ed4dac710ab4c0
tree3d040142a34252fe570e2a1c12cd215931f3f9b0
parent66709a7a68ed3230028ea27a7da52102ba48913c
flacdec: don't send second newsegment event in framed mode, fixes long playback delay

Don't send another newsegment event if the upstream muxer/parser has already
sent one (otherwise the sink will wait for $duration before starting playback).
Fixes long delay until playback starts with flac-in-ogg files.

Fixes #610959.
ext/flac/gstflacdec.c