preventing mouse double-click to fullscreen for libVLC

This forum is about all development around libVLC.
kmyin
New Cone
New Cone
Posts: 5
Joined: 17 Jun 2009 07:21

preventing mouse double-click to fullscreen for libVLC

Postby kmyin » 17 Jun 2009 07:42

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

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: preventing mouse double-click to fullscreen for libVLC

Postby Jean-Baptiste Kempf » 17 Jun 2009 09:26

--vout-event 2
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

kmyin
New Cone
New Cone
Posts: 5
Joined: 17 Jun 2009 07:21

Re: preventing mouse double-click to fullscreen for libVLC

Postby kmyin » 17 Jun 2009 12:14

Thanks for reply
Could you explain more, Thanks a lot
BR
KM

erwan10
Developer
Developer
Posts: 415
Joined: 02 Nov 2008 23:16

Re: preventing mouse double-click to fullscreen for libVLC

Postby erwan10 » 17 Jun 2009 14:22

--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

kmyin
New Cone
New Cone
Posts: 5
Joined: 17 Jun 2009 07:21

Re: preventing mouse double-click to fullscreen for libVLC

Postby kmyin » 18 Jun 2009 03:36

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

erwan10
Developer
Developer
Posts: 415
Joined: 02 Nov 2008 23:16

Re: preventing mouse double-click to fullscreen for libVLC

Postby erwan10 » 18 Jun 2009 22:33

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

kmyin
New Cone
New Cone
Posts: 5
Joined: 17 Jun 2009 07:21

Re: preventing mouse double-click to fullscreen for libVLC

Postby kmyin » 19 Jun 2009 04:18

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


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 51 guests