How to send custom event from application to pipeline

mattes effemm at mykmk.com
Thu Apr 17 07:58:57 PDT 2014


On Thu, 17 Apr 2014 01:05:43 -0700 (PDT) Mcnv <gaiety_guff at yahoo.co.in> wrote

> Hi,
> Thanks for the reply.
> 
> I am actually looking for a way to send an event from application to
> gstreamer when ever user presses a specified key.
> my application and gstreamer does not have any relation. Initially my
> application launches the video and waits for some specified keys , so on the
> key reception i want to send an event to pipeline to change the video window
> size.
> 
> Thanks,
> 

You could use signals e.g. USR1/USR2 to send events to your gstreamer app.
Just install an event handler in your custom app and whenever it fires
do the appropriate action.




More information about the gstreamer-devel mailing list