[vlc-devel] patches to improve Wayland support

erwan.tulou at gmail.com erwan.tulou at gmail.com
Tue Jun 12 00:02:15 CEST 2018


Hello,

    Please find attached three patches that improve vlc on Wayland. 
There were mainly tested with xdg_shell and -V wl on Gnome Mutter, Kwin 
and Weston.
    ( vlc -I qt --no-embedded-video --no-video-deco -V wl)

   - patch 1: xdg_shell must not resize while in fullscreen mode

   - patch 2: preserve the window size when transitioning from one video 
to the next (reuse of the window)
See the rationale in the description within the patch

    - patch 3: a try at implementing black borders with -V wl.
After many different tests, it seems the best way to go with Wayland is 
to provide a whole black window and have vlc compose the inner part with 
the video.
It also means that resizing (viewporter) and transform can only be used 
on some very specific conditions. The patch offers a vout display that 
fully relies on
vlc core for resizing and cropping, yet with some very good results on 
the series of tests that I made.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-shm-implement-black-borders.patch
Type: text/x-patch
Size: 9912 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20180612/1c281d1a/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-vout-preserve-the-window-size-during-transition.patch
Type: text/x-patch
Size: 1427 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20180612/1c281d1a/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-xdg-shell-don-t-allow-change-in-size-while-in-fullsc.patch
Type: text/x-patch
Size: 1097 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20180612/1c281d1a/attachment-0002.bin>


More information about the vlc-devel mailing list