Page 1 of 1

preventing mouse double-click to fullscreen for libVLC

Posted: 17 Jun 2009 07:42
by kmyin
hi
I am developing a QT program to implement a ip cam monitoring functionalty by using libVLC.
I want to disable the mouse double-click to fullscreen functionality that libVLC provided since I wnat to handle such event by my QT program itself.
do I need to hack the libVLC source code ?
does any one has any idea to help me to soleve this problem? Thanks?
BR
KM Yin

Re: preventing mouse double-click to fullscreen for libVLC

Posted: 17 Jun 2009 09:26
by Jean-Baptiste Kempf
--vout-event 2

Re: preventing mouse double-click to fullscreen for libVLC

Posted: 17 Jun 2009 12:14
by kmyin
Thanks for reply
Could you explain more, Thanks a lot
BR
KM

Re: preventing mouse double-click to fullscreen for libVLC

Posted: 17 Jun 2009 14:22
by erwan10
--vout-event is a three-state parameter that allows you to decide if vlc is to manage hotkeys/mouse events automatically or if the libvlc developper can regain full control of them.

vlc -H will give you the full description.

This parameter was introduced for Linux. Not sure if it is implemented for other ports.

Erwan10

Re: preventing mouse double-click to fullscreen for libVLC

Posted: 18 Jun 2009 03:36
by kmyin
Thanks
i install vlc-0.9.9a on ubuntu8.10
i use vlc -H command but i can not find any parameter setting to manage hotkey/mouse events
could you help me more
BR
KM

Re: preventing mouse double-click to fullscreen for libVLC

Posted: 18 Jun 2009 22:33
by erwan10
Hum, maybe it's only available in the new vlc1.0.0 version. the parameter is --vout-event and vlc -H gives the description.

You can download it from http://nightlies.videolan.org/

Erwan10

Re: preventing mouse double-click to fullscreen for libVLC

Posted: 19 Jun 2009 04:18
by kmyin
thanks a lot
i have searched the site http://nightlies.videolan.org
i can not foud vlc1.0.0 source code and seems there is no vlc1.0.0 binary for the linux
maybe i did not search in the right way
BR
KM