flacparse: Really post tags only after the initial newsegment event
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Wed, 6 Oct 2010 16:32:51 +0000 (18:32 +0200)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Fri, 8 Apr 2011 17:07:09 +0000 (18:07 +0100)
commitbfdc132ad05db01ad476d7cbf16d2fe600a6e510
tree980f967bef26cb2b058a8d35e524388da4aac269
parent6b71b652895d284f5219acf30835d5a6ca1c77ef
flacparse: Really post tags only after the initial newsegment event

The first newsegment event will be send by the first call to
gst_base_parse_push_buffer() if necessary, posting the tags
before that is not a good idea. Instead do it from the
GstBaseParse::pre_push_buffer vfunc.
gst/audioparsers/gstflacparse.c