[gst-devel] Event compression

Iain * iaingnome at gmail.com
Thu Sep 23 16:47:02 CEST 2004

Imagine the following situation

 src = interleave - sink

Where the src has 2 (or more) src pads and is connected to the
interleave element which then has one sink pad connected to a sink

src emits discont events at certain points
and sink does something special on discont events (say like
multifilesink which creates a new file)

Problem - src emits a discont on each pad, interleave then emits each
discont onto the sink in a row, the sink receives multiple discont
events one after another and does its special thing too many times.

Should interleave do event compression, so that if multiple sinkpads
have the same event it compresses it into one event? As a follow up to
that, how do you detect that the event is the same?

More information about the gstreamer-devel mailing list