Hi Anon,
Thanks for the comment.
Well, as it says about the object:
Cast it to an appropriate handle, such as HWND for Windows, Widget for Motif or GtkWidget for GTK. wxPerl Note: This method will return an integer in wxPerl. but I don't know what "cast it" means, nor do I know what the approriate object is. I think it is asking for the Gtk pointer of the wxWindows object, but I don't know how to "cast" an integer into a meaningful Gtk handle Id.
In the c++ it says:
wxASSERT(window);
But again I have no idea what that means in Perl.
$message is a GstMessage from http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gstreamer-GstMessage.html#GstMessage
from which $src is derived. GetHandle comes from http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-base-libs/html/gst-plugins-base-libs-gstvideooverlay.html#GstVideoOverlay
I've made liberal use of Glib::Object::Introspection; to do the wrapping, which for the most part does a nice job (baring this unkown).
If you didn't run the code, it gives you a Gtk panel running a test video, and a separate panel with buttons and a space for the video. The two panels are supposed to be superimposed.
Regards
Steve
In reply to Re^2: How to pass a Wx::Panel handle to GStreamer to render a video.
by Steve_BZ
in thread How to pass a Wx::Panel handle to GStreamer to render a video.
by Steve_BZ
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |