basic-tutorial-5.c on MacDesktop not embedding video inside native Mac Window

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

basic-tutorial-5.c on MacDesktop not embedding video inside native Mac Window

amishsharma7
Hi,
I am developing Mac application which uses GStreamer and need to display a
video on a native Mac Window. But on running the application, the video
window does not get embedded in the mac native window. Instead it runs on a
separate window having no control over it.

Platform: - Mac OS 10.13.6
XCode - 10.1
gtk version used : - gtk 3.0

Also this line of code shows me a warning : -
window_handle = gdk_quartz_window_get_nsview (window);
Warning: - Implicit declaration of function 'gdk_quartz_window_get_nsview'
is invalid in C99.
which I doubt might be the cause of the problem.

Any help would be appreciated.
Thanks



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: basic-tutorial-5.c on MacDesktop not embedding video inside native Mac Window

amishsharma7
To add on, just observed that : -
g_signal_connect (video_window, "realize", G_CALLBACK (realize_cb), data);
g_signal_connect (video_window, "draw", G_CALLBACK (draw_cb), data);

these callbacks i.e. draw_cb and realize_cb are never trigerred.



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel