[gst-devel] How to connect to cdparanoiasrc's transport-error signal?

Yogesh Marwaha yogeshm.007 at gmail.com
Sun Jan 16 15:31:11 CET 2011


Thank you very much :)

On Friday 14 Jan 2011 9:24:49 pm Tim-Philipp Müller wrote:
> On Fri, 2011-01-14 at 20:40 +0530, Yogesh Marwaha wrote:
> > Sorry if I am missing something trivial, but I need to declare and define
> > a callback function like this:-
> > 
> > void my_transport_error_callback(GstCddaBaseSrc *cdparanoia, gint sector,
> > gpointer userData);
> 
> Not sure where you got the BaseSrc bit from, but you can just do:
> 
> void
> my_transport_error_callback (GstElement * cdparanoia,
>     gint sector, gpointer user_data)
> {
>   ...
> }
> 
> Cheers
>  -Tim
> 
> 
> ---------------------------------------------------------------------------
> --- Protect Your Site and Customers from Malware Attacks
> Learn about various malware tactics and how to avoid them. Understand
> malware threats, the impact they can have on your business, and how you
> can protect your company and customers by using code signing.
> http://p.sf.net/sfu/oracle-sfdevnl
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel




More information about the gstreamer-devel mailing list