[gst-devel] handoff calling C++ object member function
Ronald Bultje
rbultje at ronald.bitfreak.net
Tue Jan 6 12:37:02 CET 2004
On Tue, 2004-01-06 at 20:33, Mathrick wrote:
> MyDataType *my_data = // ... fill my_data
>
> g_signal_connect (G_OBJECT (listener), "handoff", G_CALLBACK
> (cb_manipulate), my_data);
>
> static void cb_manipulate(GstElement *elem, MyDataType *data)
Actually, cb_manipulate looks like:
static void cb_manipulate (GstElement *element,
GstData *data,
gpointer data)
{
MyDataType *data = (MyDataType *) data;
//..
}
Ronald
--
Ronald Bultje <rbultje at ronald.bitfreak.net>
Linux Video/Multimedia developer
More information about the gstreamer-devel
mailing list