LibVLC application that plays music and video, that switches automatically to full screen.
Fullscreen now defaults to the active screen (eg your clicking a website on screen 1 while you want to watch a movie on screen 2, it fullscreens to screen 1. instead of screen 2 where the application is located. )
What I want to do:
Set fullscreen to screen 2.
What I have tried:
I've been playing with media options and I cant seem to get video-x video-y to work, the rest works fine.
Code: Select all
//begin loading media...
libvlc_media_t * media = libvlc_media_new_path( vlcinst, path.c_str() );
libvlc_media_add_option( media, ":video-y=1" );
libvlc_media_add_option( media, ":video-x=1920" );
setupplaylist( media );
//do more stuff.....