gtk4: Generate the gdk Textures from GStreamer in the PaintableSink
The following discussion from !588 (merged) should be addressed:
-
@slomo started a discussion: (+3 comments) gdk::Texture
isSend + Sync
now, which might allow some simplifications here. You could create the textures on the GStreamer streaming thread already and then just send that through the channel.We could potentially create
gdk::Texture
s already inBaseSinkImpl::render
/VideoSinkImpl::show_frame
from the GStreamer thread, and then move those into the UI thread for displaying