GNOME Bugzilla – Bug 575598
hierarchical pipelines accumulate segment-done wrongly
Last modified: 2009-03-17 10:16:19 UTC
bin collects segment-start messages and segent-done messages. it posts a segment-done message to its parent, once it has received a segment-done for each segment-start. Imho it should also send a segment-start if it receives the first segment start and if parent is !=NULL. This is needed for bins in bins, so that also higher order bins can group segment-starts and segment-dones. Right now higher order bins will post a segment-done for each segment-done received. Patch follows.
Created attachment 130777 [details] segment-done sequence before the change
Created attachment 130778 [details] segment-done sequence after the change
Created attachment 130779 [details] [review] send segment-start for first message to parent
Yepp, indeed.
commit b3e56e19f53ade895be2c4f21776eebbfceb44ae Author: Stefan Kost <ensonic@users.sf.net> Date: Tue Mar 17 12:05:33 2009 +0200 bin: forward segment-start like segment-done if parent is also a bin