handle events / override event handling in appsrc
Sebastian Dröge
sebastian at centricular.com
Thu Dec 26 06:01:53 PST 2013
On Mi, 2013-12-25 at 23:25 -0800, Cigarah wrote:
> /Can you provide the complete changed code of appsrc that you're using
> here/,
>
> I have already given the exact code that I am using. I shall explain it. I
> have added the following in appsrc code
>
> [...]
>
> Rest all appsrc code is same.
>
> /and are you sure you're using the appsrc built from that in your
> application? /
> Yes, I can see the logs getting printed
Ok, but with this it's impossible that appsrc calls the basesrc
send_event handling. You overwrote it in class_init and don't chain up
to the parent class' send_event in your own send_event.
Is it maybe the pad event handling function for which you still see logs
from basesrc?
> /Also what's your use case for intercepting the events or handling them
> in a custom way. /
>
> Use case ...
> Handle some events inside appsrc.c as have to pass them downstream only for
> appsrc (and also do something else from inside appsrc for these events).
Which events, and why is the default handling not working for you?
--
Sebastian Dröge, Centricular Ltd - http://www.centricular.com
Expertise, Straight from the Source
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 966 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20131226/158f54c5/attachment.pgp>
More information about the gstreamer-devel
mailing list