How to use python to receive Gobject.pointer

Stephenwei lofy.stephen at gmail.com
Sun Oct 29 17:46:37 UTC 2017


Hi,
I write a gstreamer plugin and g_signal_emit had send a struct.

when I try to use python to receive callback function. I don't know how to
receive a struct?

typedef struct{
    int a;
    int arr[32][4];
}draw;

ps : if send a int or float variable , callback function can print it
directly.

Thanks,
Stephen



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/


More information about the gstreamer-devel mailing list