[gst-devel] Difference between gst_pad_push_event() and gst_pad_send_event()

Wim Taymans wim at fluendo.com
Tue Jan 23 12:30:59 CET 2007


On Wed, 2007-01-17 at 02:54 -0800, Fabrice Triboix wrote:
> Hello,
> 
> I am writing a custom element of my own and I would
> like to know the difference between these 2 functions:
> gst_pad_push_event() and gst_pad_send_event().
> 
gst_pad_push_event(pad, event) will call gst_pad_send_event() on the
peer of
@pad.

> This is to generate an EOS event.
If you write a plugin, use gst_pad_push_event() on the source pad of
your plugin to send the event to the peer.

Wim

> 
> Thank you,
> 
>   Fabrice
> 
> 
> 
>  
> ____________________________________________________________________________________
> Looking for earth-friendly autos? 
> Browse Top Cars by "Green Rating" at Yahoo! Autos' Green Center.
> http://autos.yahoo.com/green_center/
> 
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
-- 
Wim Taymans <wim at fluendo.com>





More information about the gstreamer-devel mailing list