Development around libVLC • Strange playback in gtk4 window



Hi, I am writing a simple video player using libvlcpp (libvlc 3.0.20) and gtkmm4. Unfortunately, I stopped at the very beginning. When I pass the window handle (in the gtk4 get_surface method) the playback is strange, as if no frame is cleared. Stranger still, when I record the screen using some default screen grabber with gnome (ubuntu 24.04) it looks normal. Can anyone tell me what I am doing wrong? Videos and source code are available on my github (branch edge):

https://github.com/tomacaster/GBaric/tr … _resources

Statistics: Posted by tomacaster — 07 May 2024 12:52