in reply to Re^3: How to pass a Wx::Panel handle to GStreamer to render a video.
in thread How to pass a Wx::Panel handle to GStreamer to render a video.

Hi Anon,

You are a code warrier without equal.

Inline C maybe the answer. Look at this: https://developer.gnome.org/glib/2.30/glib-Basic-Types.html#guintptr

It says:

guintptr

typedef unsigned long guintptr;

Corresponds to the C99 type uintptr_t, an unsigned integer type that can hold any pointer.

To print or scan values of this type, use G_GINTPTR_MODIFIER and/or G_GUINTPTR_FORMAT.

Since: 2.18

So it's just a c-pointer. I'll try it out next week.

Regards

Steve.

  • Comment on Re^4: How to pass a Wx::Panel handle to GStreamer to render a video.