Page 1 of 1

libVLC 1.1 fullscreen mode

Posted: 08 Mar 2010 13:20
by Jo2003
Hello,
I'm trying to integrate some play functionality into a Qt app (Win32). After some tests with libVLC 1.05 (which I can't control as I want because it catches all the keypress events on fullscreen and --vout-event doesn' work on Windows) I tested version 1.1. If I now double click on the video widget, it doesn't switch to fullscreen (fine for me) but also if I call "libvlc_toggle_fullscreen" it doesn't work. It only gives me the error "Can't switch to fullscreen". Is there a way to find out some details why this doesn't work?

Thank you very much!

Best regards,
Jörg Neubert

Re: libVLC 1.1 fullscreen mode

Posted: 08 Mar 2010 17:00
by Rémi Denis-Courmont
I don't suppose you're using libvlc_video_set_hwnd()? To my knowledge, nobody implemented fullscreen mode for embedded video on Windows.

Re: libVLC 1.1 fullscreen mode

Posted: 08 Mar 2010 19:08
by Jo2003
Thank you for your reply. Yes, I used libvlc_media_player_set_hwnd as descriped in the Qt example. This works with libVLC from VLC 1.05 (on double click) but not in 1.10. Is there a way to switch to full screen (e.g. using setParent)?

Best regards,
Jörg Neubert

Re: libVLC 1.1 fullscreen mode

Posted: 08 Mar 2010 19:34
by Rémi Denis-Courmont
I am not very familiar with the Windows port. On X11, you need to reparent to the video widget to the root window before enabling fullscreen.

Re: libVLC 1.1 fullscreen mode

Posted: 12 Mar 2010 15:40
by Jo2003
Thank you very much. I figured out how to manage it using the "old" lib. When 1.10 will become final, I'll make a new try.

Best regards,
Jörg Neubert