[gst-devel] convention about event handling functions

SP GLE spglegle at yahoo.fr
Thu Jun 7 17:22:57 CEST 2007


Hi,
When registering a GstPadEventFunction with
gst_pad_set_event_function() on pad, what are the required properties
of the passed eventfunc() ::

- Does eventfunc() HAVE TO take ownership of passed event ?
- When/Why the eventfunc() should return TRUE or FALSE ?
  - When returning TRUE, is the passed event supposed to have been
unreffed  inside eventfunc() ?
  - When returning FALSE, is the passed event supposed to have the same
refcount as the one it had when passed to eventfunc() (leave untouched)
or should it be decreased (unreffed)?

Regards.





	

	
		
___________________________________________________________________________ 
Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions ! 
Profitez des connaissances, des opinions et des expériences des internautes sur Yahoo! Questions/Réponses 
http://fr.answers.yahoo.com




More information about the gstreamer-devel mailing list