Page 1 of 1

libvlc_set_fullscreen() works only when the video is stopped

Posted: 26 Aug 2014 17:41
by roxx
Hi.

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);
Tested with VLC 2.0.8 on KUbuntu 13.04 and 2.1.4 on KUbuntu 14.04.

Re: libvlc_set_fullscreen() works only when the video is sto

Posted: 26 Aug 2014 18:22
by RĂ©mi Denis-Courmont