Using GstVideoOverlay on Mac

Sebastian Dröge sebastian at centricular.com
Mon Mar 7 09:43:58 UTC 2016


On So, 2016-03-06 at 17:37 -0800, doon wrote:
> 
> Hi, Andy.
> Could you share the include part of your code? And how do you
> installed GDK on OS X? Because I can't find <gdk/gdkx.h> and I can't
> find how to install GDK on OS X. 

Do you want to use GDK/GTK with the X11 backend on OSX? Probably not.
In that case you want gdk/gdkquartz.h

See this for a GTK2 example:
https://cgit.freedesktop.org/~slomo/gst-sdk-tutorials/tree/gst-sdk/tutorials/basic-tutorial-5.c

Look for GDK_WINDOWING_QUARTZ. This part is the same on GTK3, other
parts there might be different.

Search for GDK_WINDOWING_QUARTZ in here for a GTK3 example, but that's
a more complex application:
https://cgit.freedesktop.org/gstreamer/gst-plugins-base/tree/tests/examples/playback/playback-test.c

-- 
Sebastian Dröge, Centricular Ltd · http://www.centricular.com

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20160307/e0ad40b1/attachment.sig>


More information about the gstreamer-devel mailing list