Using VLC 4.0.0 on WSL2 Ubuntu 25.04 with wayland

Jean-Yves Baudy <[email protected]> Thu, 19 Jun 2025 15:03:43 +0200
Newsgroups gmane.comp.video.videolan.vlc.devel
Message-ID <CA+SazbA2q_SRcpb8Yx4OgUF5_Fo4qejMhvp_rdBEeofETRKorw@mail.gmail.com>
Hi,
When I want to play a video with VLC 4.0.0 on WSL2 Ubuntu 25.04 with
wayland (compiled from the main branch) I have this error and VLC stop
working (exit):

   - wp_viewporter#22: error 0: a viewport for that surface already exists


If I comment the code here:

   - <     if (sys->viewporter != NULL)
   <         sys->viewport = wp_viewporter_get_viewport(sys->viewporter,
   surface);
   ---
   >     if (sys->viewporter != NULL) {
   >         //sys->viewport = wp_viewporter_get_viewport(sys->viewporter,
   surface);
   >     }

It works. I have no idea why.


VLC media player 4.0.0-dev Otto Chriek (revision
4.0.0-dev-34078-ga091acfd81)

Regards

_______________________________________________
vlc-devel mailing list
To unsubscribe or modify your subscription options:
https://mailman.videolan.org/listinfo/vlc-devel