[Bug 705821] vaapi/wayland: add support for external wl_surface/wl_display
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Mon Oct 8 12:37:20 UTC 2018
https://bugzilla.gnome.org/show_bug.cgi?id=705821
--- Comment #76 from Matteo Valdina <matteo.valdina at gmail.com> ---
Hi,
About my initial issue, I figured out. It was an issue on my side.
The only persistent issue is when I set a different size from the src.
I set my desired dimension via gst_video_overlay_set_render_rectangle.
This show for a fraction of a second the desired input but after that the
surface become black.
There is a TODO in the "gst_vaapi_window_wayland_set_render_rect".
void
gst_vaapi_window_wayland_set_render_rect (GstVaapiWindow * window, gint x,
gint y, gint width, gint height)
{
GstVaapiWindowWaylandPrivate *const priv =
GST_VAAPI_WINDOW_WAYLAND_GET_PRIVATE (window);
if (priv->video_subsurface)
wl_subsurface_set_position (priv->video_subsurface, x, y);
/* TODO: something to scale maybe */
return;
}
My first thought is to add the wl_viewport to do the rescale. But I'm wondering
if it should be implemented with a vaapostproc instead.
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
More information about the gstreamer-bugs
mailing list