aggregator: Need API for adjusting the outgoing segment
Currently aggregator always outputs a default [0, -1]
segment (and does stuff in case of seeking). This is the right things to do for e.g. videomixer/audiomixer and muxers but not for other elements operating with multiple sink pads.
Any ideas how such an API for adjusting the segment could look like? A virtual method that gets the default segment (and the seek-adjusted one) passed just before sending the segment events, and can modify it?
What about the subclass wanting to update the segment at another time later? Do we need also a function to set the outgoing segment (and sending a segment event) at any later time?