Page 1 of 1

Automatically choose the right screen for the full screen

Posted: 26 Feb 2009 00:43
by M@dinko12
Hi there,
I have a dual screen monitor, and if I want to choose the screen for the fullscreen feature, I have to change an XVideo parameter in the preferences. I think it should be better if, like in the most part of current video programs, you could choose the right screen more easily : if you're doing your two clicks in the left screen, it changes the XVideo parameter with the right variable (1 for example) (and get the full screen in the left screen) and the same in the right screen (with 0 for example).

Can you help me to change the source code to do that ? Where do I search ?

Thanks,
In a friendly way,
M@dinko12

Edit: ewtch. The choosen category seems to be wrong. If someone could move that post in the right one... Sorry.

Re: Automatically choose the right screen for the full screen

Posted: 26 Feb 2009 01:16
by Jean-Baptiste Kempf
Fixed in 0.9.9 and 1.0.0

Re: Automatically choose the right screen for the full screen

Posted: 26 Feb 2009 01:20
by M@dinko12
Fixed in 0.9.9 and 1.0.0
Thanks for answer. So, when would these versions be out ?

Re: Automatically choose the right screen for the full screen

Posted: 26 Feb 2009 13:31
by VLC_help
viewtopic.php?f=14&t=55755
1.0.0 test version should be available.

Re: Automatically choose the right screen for the full screen

Posted: 26 Feb 2009 15:23
by Jean-Baptiste Kempf
So, this is linux. Topic Moved

The code to change is in modules/video_output/x11/common.c

Re: Automatically choose the right screen for the full screen

Posted: 26 Feb 2009 18:38
by M@dinko12
Thanks j-b.
So, I must get the mouse position. If 0 < x < 1280, set the variable [?] to 0 (left screen). Else, set it to 1 (right screen). That's it ?

Thanks for help,
M@dinko12

Re: Automatically choose the right screen for the full screen

Posted: 27 Feb 2009 20:21
by M@dinko12
Bump. I can compile the 1.0.0-git version, it partially works : if I double click on the right screen, the video get full in the right screen, but with the scale of my left screen. The left screen works well. Otherwise, I have some problem with the 1.0.0-git, segmentation failure especially. And doing « sudo make install » won't work :
$ vlc
VLC media player 0.9.4 Grishenko
[00000001] main libvlc debug: VLC media player - version 0.9.4 Grishenko - (c) 1996-2008 the VideoLAN team
[00000001] main libvlc debug: libvlc was configured with ./configure '--build=i486-linux-gnu' '--enable-maintaner-mode' '--enable-release' '--prefix=/usr' '--enable-libtool' '--enable-fast-install' '--with-binary-version=1ubuntu3.1' '--disable-update-check' '--disable-gnome' '--disable-gtk' '--disable-familiar' '--disable-fb' '--enable-ggi' '--enable-sdl' '--enable-esd' '--enable-mad' '--enable-arts' '--enable-jack' '--enable-pulse' '--enable-lirc' '--enable-a52' '--enable-aa' '--enable-dvbpsi' '--enable-mozilla' '--with-mozilla-pkg=libxul-plugin' '--disable-kde' '--enable-mp4' '--enable-dvb' '--disable-satellite' '--enable-ogg' '--enable-vorbis' '--enable-shout' '--enable-qt4' '--disable-slp' '--enable-flac' '--disable-skins' '--disable-basic-skins' '--enable-skins2' '--enable-freetype' '--enable-mkv' '--enable-speex' '--enable-caca' '--enable-live555' '--enable-libmpeg2' '--enable-fribidi' '--enable-cdio' '--enable-mod' '--enable-theora' '--enable-modplug' '--enable-dvdnav' '--enable-gnutls' '--enable-ffmpeg' '--enable-ncurses' '--enable-smb' '--disable-gnomevfs' '--enable-bonjour' '--enable-mpc' '--enable-vcd' '--enable-vcdx' '--enable-notify' '--enable-twolame' '--enable-x264' '--enable-faad' '--disable-zvbi' '--enable-telx' '--enable-mediacontrol-bindings' '--disable-atmo' '--enable-taglib' '--enable-libass' '--enable-libdca' '--enable-alsa' '--enable-dv' '--enable-v4l' '--enable-v4l2' '--enable-pvr' '--enable-svgalib' '--enable-dvd' '--without-dvdcss' 'build_alias=i486-linux-gnu' 'CFLAGS=-g -O2' 'LDFLAGS=-Wl,--as-needed' 'CPPFLAGS=' 'CXXFLAGS=-g -O2'
[00000001] main libvlc debug: translation test: code is "C"
[00000382] main interface error: no interface module matched "screensaver,none"
[00000382] main interface error: no suitable interface module
[00000001] main libvlc error: interface "screensaver,none" initialization failed
[00000001] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
Remote control interface initialized. Type `help' for help.
and nothing appends..

When I lauch it "normally", it sometimes crashes :
$ '/home/nils/vlc/vlc/vlc'
VLC media player 1.0.0-git Goldeneye
[0x9e07158] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
libdvbpsi error (PSI decoder): TS discontinuity (received 6, expected 0)
libdvbpsi error (PSI decoder): TS discontinuity (received 14, expected 0)
Erreur de segmentation
Edit : Erf... Now, the fullscreen feature don't work. Yesterday, everything was ok... That's very wreid.

Edit2 : Ho ! When I choose X11 as video Output module, it works perfectely with 1.0.0-git. But VLC have some bugs then (up ^)...

Thanks !