hi,
we are using imx8qm board to display our test pattern inside a window. Test pattern is generated using gstreamer pipeline with waylandsink. The window should be able to minimize,maximize,close and drag. we are attaching our code bellow. We have made a GTK window which we are able to minimize, maximize and drag. But the test pattern does not get rendered inside the GTK window. Instead, it will run separately leaving the GTK window blank in imx8qm wayland display
Thank you. Now our issue is resolved. The video is rendered inside the GTK window.
Hello Dilna,
I feel the waylandsink is not fully ready yet when you call gst_video_overlay_set_window_handler() to associate your gtk window with rendering surface. You may need to use gst_bus_set_sync_handler() have sync handler to make sure it is ready.
you can refer the code here:
https://github.com/GStreamer/gst-plugins-bad/blob/master/tests/examples/waylandsink/main.c
Regards
Thank you. Now the issue is resolved. The video is get rendered inside the GTK window.