libVLC 1.1 fullscreen mode

This forum is about all development around libVLC.
Jo2003
Blank Cone
Blank Cone
Posts: 67
Joined: 08 Feb 2010 13:29

libVLC 1.1 fullscreen mode

Postby Jo2003 » 08 Mar 2010 13:20

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

Rémi Denis-Courmont
Developer
Developer
Posts: 15309
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: libVLC 1.1 fullscreen mode

Postby Rémi Denis-Courmont » 08 Mar 2010 17:00

I don't suppose you're using libvlc_video_set_hwnd()? To my knowledge, nobody implemented fullscreen mode for embedded video on Windows.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

Jo2003
Blank Cone
Blank Cone
Posts: 67
Joined: 08 Feb 2010 13:29

Re: libVLC 1.1 fullscreen mode

Postby Jo2003 » 08 Mar 2010 19:08

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

Rémi Denis-Courmont
Developer
Developer
Posts: 15309
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: libVLC 1.1 fullscreen mode

Postby Rémi Denis-Courmont » 08 Mar 2010 19:34

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.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

Jo2003
Blank Cone
Blank Cone
Posts: 67
Joined: 08 Feb 2010 13:29

Re: libVLC 1.1 fullscreen mode

Postby Jo2003 » 12 Mar 2010 15:40

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


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 5 guests