[gst-devel] event handling in chain function?
Michael Smith
msmith at fluendo.com
Wed Mar 29 01:12:03 CEST 2006
On Tue, 2006-03-28 at 17:29 -0700, Brad Midgley wrote:
> Hi
>
> I see the docs* talking about registering a separate function for
> accepting events, but in going through an encoder for gsm, I see event
> handling in the chain function using GST_IS_EVENT and GST_IS_BUFFER. Is
> one or the other of these preferred?
That's a sign of a poor port from 0.8 - where they were both handled in
the chain function. The event case will now never be triggered in that
chain function. The docs, in this case, are correct.
Mike
More information about the gstreamer-devel
mailing list