https://bugs.documentfoundation.org/show_bug.cgi?id=148864

--- Comment #9 from Michael Weghorn <[email protected]> ---
(In reply to Jan-Marek Glogowski from comment #8)
> Oh, and gtk3 does use some gtk specific video sink, not direct X11 overlay.

qt5 already uses qwidget5videosink for Wayland. In a quick testing, commenting
out the 

    if (pEnvData->platform != SystemEnvData::Platform::Wayland)
        return nullptr;

check in QtInstance::CreateGStreamerSink didn't result in a working result
either. (The behavior is slightly different, though: I see a single "black
rectangle" when moving back to the first slide, while there are 2 without that
change in place.)

IIRC, gtk3 also falls back to the x11 video sink if the gstreamer plugins
containing the gtk3 sink are not installed.

> gtk4 has it's own player implementation in avmedia/source/gtk using the Gtk
> 4 multimedia functions; I had some other bug where I mentioned to use Qt
> multimedia instead of direct gstreamer. Both toolkit abstraction work
> probably better generally and it would work eventually in other platforms.

Yes, that sounds like a good way forward (at least in the long run), and was
also one idea I mentioned in tdf#145735. (I also have some WIP branch for using
waylandsink for qt6 on Wayland, but ran into various problems there.)

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to