I'd like to make the video window fullscreen in runtime. The VLC window is embedded into Qt widget (KUbuntu 13.04 and Qt 4.8.5) with libvlc_media_player_set_xwindow(<Qt widget's native id>). Everything works fine except switching to the fullscreen mode in runtime.
I use libvlc_set_fullscreen(). But it works fine only when the video stream is stopped. When the video stream is played libvlc_set_fullscreen() does nothing. I don't see any error message in console. I use the following code to go to the fullscreen mode:
Code: Select all
libvlc_media_player_set_xwindow(media_player, 0);
libvlc_set_fullscreen(media_player, true);