gstwaylandsink with video overlay on a Qt widget
PK
p.kissel at kostal.com
Thu Jul 6 21:08:38 UTC 2017
Hello,
I'm trying to output video from a gstreamer pipeline with a waylandsink to a
Qt widget. I understand that I can obtain the wayland display information
with code such as:
QPlatformNativeInterface *native =
QGuiApplication::platformNativeInterface();
struct wl_display* wl_dpy = (struct wl_display*)
native->nativeResourceForWindow("display", NULL);
struct wl_surface* surface = static_cast<struct wl_surface
*>(native->nativeResourceForWindow("surface",
widget.window()->windowHandle()));
but how is this information relayed to the pipeline's waylandsink? The
plugin information mentions that it can take information in via GstContext,
but is this a display context? A surface context?
Thanks
--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/gstwaylandsink-with-video-overlay-on-a-Qt-widget-tp4683718.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.
More information about the gstreamer-devel
mailing list