[vlc-devel] Re: PTZ control module for VLC

Sigmund Augdal sigmunau at stud.ntnu.no
Mon Aug 23 14:48:46 CEST 2004


indeed, it is here worth noting  that the call back is run in the thread
that changes the variable, in this case this is the video output thread
which should not be distracted too much (at least not by network
operations), so the bulk work should be done in the control modules own
thread like it is done for gestures.

Sigmund

On Mon, Aug 23, 2004 at 01:42:05PM +0100, Daniel M. Lambea wrote:
>   Nothing else, I see. Looks like it would have been better if I asked
> before starting to play with the sources... :-)
> 
>   In that case, as I understand, only thing I need is to hook a
> callback for the "mouse-button-down" from inside the PTZ module, and
> wait for such a click, right?
> 
>   Regards,
>     Daniel M. Lambea
> 
> > Video modules allready do convey information on mouse position and clicks.
> > The coordinates should be relative to the video(and not the window) because
> > this information is also in use by dvd-menus etc.
> > 
> > The mouse information is given through the "mouse-moved" and
> > "mouse-button-down" variables. The usage of these are demonstrated in the
> > gestures module.
> > 
> > I don't understand what more needs to be corrected for these coordinates.
> > 
> > Sigmund
> 
> -- 
> This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
> To unsubscribe, please read http://developers.videolan.org/lists.html
> If you are in trouble, please contact <postmaster at videolan.org>

-- 
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html
If you are in trouble, please contact <postmaster at videolan.org>



More information about the vlc-devel mailing list