How to send custom event from application to pipeline

Eric Trousset etrousset at awox.com
Thu Apr 17 00:48:00 PDT 2014


Hi, 
I might be wrong, but I think if better to use a Caps filter after a videoscale element et to set the video size you want thru the caps.
Cheers, 
Eric

> -----Original Message-----
> From: gstreamer-devel [mailto:gstreamer-devel-
> bounces at lists.freedesktop.org] On Behalf Of Mcnv
> Sent: jeudi 17 avril 2014 09:20
> To: gstreamer-devel at lists.freedesktop.org
> Subject: How to send custom event from application to pipeline
> 
> Hi,
> 
> I would like to send a custom event based on the user request to change the
> size of video window.
> I looked here for some time but could not find a way.
> 
> I have seen APIs like
> 
>         GstEvent*  event = gst_event_new_eos();
>          gst_element_send_event(pipeline, event);
> 
> but which is specific to EOS, but i want to send an event say
> REQUEST_VIDEO_SIZE_CHANGE and change the video window size without
> stopping video.
> 
> hope this is a sensible question...
> 
> 
> 
> --
> View this message in context: http://gstreamer-
> devel.966125.n4.nabble.com/How-to-send-custom-event-from-application-
> to-pipeline-tp4666468.html
> Sent from the GStreamer-devel mailing list archive at Nabble.com.
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


More information about the gstreamer-devel mailing list