GNOME Bugzilla – Bug 643764
Compiling gstreamer-sharp fails for 64 bit windows
Last modified: 2014-03-02 20:50:40 UTC
Created attachment 182327 [details] [review] Use uint instead of UIntPtr for gulong on windows 64 bit When I (cross) compile gstreamer-sharp using a mingw64 compiler, it fails. The cause of this is that on windows 64bit, a glong is of size 4, while on linux 64 bit a glong is of size 8. I have attached a patch that allows me to successfully compile. I am not sure it is correct or that it is the desired way to handle this. Please review. Maybe, you might want to remove the bindings for gst_x_overlay_got_xwindow_id() altogether, as this function is deprecated in favour of gst_x_overlay_got_window_handle()?
The better solution would be to switch to the new GstXOverlay API, which uses a guint64 in all cases for the handle.
This is fixed by the new 1.x based bindings.