How to integrate glimagesink into a custom qt player on wayland

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

How to integrate glimagesink into a custom qt player on wayland

jared Hu
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@1: error 1: invalid arguments for
wl_subcompositor@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/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel