How to integrate glimagesink into a custom qt player on wayland
jared Hu
jared.hu at nxp.com
Tue Oct 17 05:53:47 UTC 2017
Is there any one who know how to integrate glimagesink into a custom qt
player on wayland. I got wl_surface from QPA like this, and set this handle
to glimagesink:
QPlatformNativeInterface *native =
QGuiApplication::platformNativeInterface();
struct wl_surface* surface = native->nativeResourceForWindow("surface",
Widget->window()->windowHandle());
but when pipeline set to play, it will report error:
wl_display at 1: error 1: invalid arguments for
wl_subcompositor at 5.get_subsurface
** (test_wl_surface:8266): CRITICAL **: Failed to flush Wayland connection
Do any one know why?
--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
More information about the gstreamer-devel
mailing list