baseparse: Fix handling of multiple newsegment events
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Mon, 5 Mar 2012 13:41:12 +0000 (14:41 +0100)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Mon, 5 Mar 2012 13:41:12 +0000 (14:41 +0100)
commit495aca4905a971e91f219b5d39a9e37746c8713d
tree0a8f55feb1035a6c1c5c854591b598c0f752aafa
parent563ba031a2a2fb9d856e3f2b8c2be1eceac7ec86
baseparse: Fix handling of multiple newsegment events

Previously only the last would be pushed, which would cause
invalid running times downstream. This also fixes the handling
of update newsegment events.
libs/gst/base/gstbaseparse.c