Application did not provide a wayland display handle
Olivier CrĂȘte
olivier.crete at collabora.com
Mon Jul 10 20:49:38 UTC 2017
Hi,
On Mon, 2017-07-10 at 01:36 -0700, kevan.lan wrote:
> I want qt mutimedia use waylandsink to play video,so "export
> QT_GSTREAMER_WINDOW_VIDEOSINK=waylandsink".
> But the waylandsink plugin in the gst-plugins-bad told me:
> "Application did
> not provide a wayland display handle.waylandsink cannot use an
> externally-supplied surface without an externally-supplied display
> handle.
> Consider providing a display handle from your application with
> GstContext"
>
> Anybody have tried this? Any suggestion? How can the application
> supply a
> wl_surface handle for the sink to use?
The application can supply the surface with
gst_video_overlay_set_window_handle(), it must also create a context
using gst_wayland_display_handle_context_new() and set that context on
the pipeline with gst_element_set_context().
--
Olivier CrĂȘte
olivier.crete at collabora.com
More information about the gstreamer-devel
mailing list