Revert "basesrc: Send an update NEWSEGMENT event downstream if the duration changes"
authorMark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>
Wed, 8 Jun 2011 18:14:16 +0000 (20:14 +0200)
committerMark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>
Wed, 8 Jun 2011 18:14:16 +0000 (20:14 +0200)
commitc040305b8c6dac84e8c7abc96bb19d1bf70ac976
tree4dd5f1cb1bc3e5dcf2b84c03ec87096ef1dee586
parent6d374e54b91c8391bf8f51020881c61558ab3676
Revert "basesrc: Send an update NEWSEGMENT event downstream if the duration changes"

This reverts commit 934faf163caf10ed3d54d81fd7b793069913dffd.

Original commit leads to possibly sending newsegment event downstream
in pull mode.  In push mode, quite some downstream elements
are likely to only expect newsegment event following a seek they performed
and as such may have their state messed up.
libs/gst/base/gstbasesrc.c