[vlc-devel] [PATCH] MacOS: manage the mouse events to allow DVD navigation.

Sebastien Zwickert dilaroga at gmail.com
Fri Jul 30 01:03:33 CEST 2010


On Jul 29, 2010, at 11:40 PM, Laurent Aimar wrote:

> Hi,
> 
> On Thu, Jul 29, 2010 at 11:15:39PM +0200, Sebastien Zwickert wrote:
>> On Jul 29, 2010, at 2:09 PM, Pierre d'Herbemont wrote:
>> 
>>> Might be wrong though, but you surely could do some factorization or
>>> use vout_display_PlacePicture in mouseMoved:.
>> 
>> Thanks to point out to me this useful function :)
> If you use it (and yes using it is a really good thing as you will also
> easily get zoom/autoscale/alignement for free or nearly, and a consistant
> behaviour with other vouts), you probaby must change the code to use it in
> reshape(). Otherwise you may end up having inconsistancies...

Thank you for the consulting.
In attachment a separate patch which takes the benefits of vout_display_PlacePicture in reshape().

--
Sebastien Zwickert


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-MacOS-take-benefit-of-vout_display_PlacePicture.patch
Type: application/octet-stream
Size: 1578 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20100730/24c8de13/attachment.obj>


More information about the vlc-devel mailing list