Hi,
Thank you for the replay , however I was trying the same approach using gst-overlay. Can you advice on the missing part ?
Appreciate if any (offline?) hacks are also available. Any links ? Thanks, in advance. We
currently
have main
surface
(black), subsurface
(silver),
and gstreamer Video.
The
main
surface is
rendered
in a
random
location, the
subsurface
is
rendered in
a fixed
location relative
to
the main
surface, and
the Gstreamer
Video
rendered
out of
the main
surface.
From: Nicolas Dufresne <nicolas@xxxxxxxxxxxx>
Sent: Wednesday, June 8, 2022 5:13 AM To: Discussion of the development of and with GStreamer <gstreamer-devel@xxxxxxxxxxxxxxxxxxxxx> Cc: gstreamer-embedded@xxxxxxxxxxxxxxxxxxxxx <gstreamer-embedded@xxxxxxxxxxxxxxxxxxxxx>; Kishan Dudhatra <kishan.dudhatra@xxxxxxxxxxxxx> Subject: Re: Render Gstreamer video on Wayland subsurface. Le mar. 7 juin 2022, 06 h 30, Kishan Dudhatra via gstreamer-devel <gstreamer-devel@xxxxxxxxxxxxxxxxxxxxx> a écrit :
As subsurface have no framebuffer or size, this is pretty inconvenient way. I would rather suggest to use the existing mechanism. through the sync message handler reply to the message the query a window handle. Pass your top level surface handle,
and position that using gst_video_overlay_set_render_rectangle().
|