diff options
author | Julien Isorce <julien.isorce@gmail.com> | 2014-05-02 05:51:36 +0100 |
---|---|---|
committer | Julien Isorce <julien.isorce@gmail.com> | 2014-05-02 06:03:23 +0100 |
commit | 619e7be7489d0f7a65288e4f72ee3c798618a2a3 (patch) | |
tree | 1e7622c55093bf6bc5d553d2e95169d4dd4ed24e /tests | |
parent | e42d40c063c26a720377ae866d637f1fbb4496db (diff) | |
download | gstreamer-plugins-bad-619e7be7489d0f7a65288e4f72ee3c798618a2a3.tar.gz |
gl: pass NSView instead of NSWindow in cocoa-videooverlay example
https://bugzilla.gnome.org/show_bug.cgi?id=728451
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/examples/gl/cocoa/cocoa-videooverlay.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/examples/gl/cocoa/cocoa-videooverlay.m b/tests/examples/gl/cocoa/cocoa-videooverlay.m index c9d76a574..683abe125 100755 --- a/tests/examples/gl/cocoa/cocoa-videooverlay.m +++ b/tests/examples/gl/cocoa/cocoa-videooverlay.m @@ -111,7 +111,7 @@ static GstBusSyncReply create_window (GstBus* bus, GstMessage* message, MainWind g_print ("setting window handle %lud\n", (gulong) window); - gst_video_overlay_set_window_handle (GST_VIDEO_OVERLAY (GST_MESSAGE_SRC (message)), (guintptr) window); + gst_video_overlay_set_window_handle (GST_VIDEO_OVERLAY (GST_MESSAGE_SRC (message)), (guintptr) [window contentView]); gst_message_unref (message); |