[vlc-devel] [PATCH] -- QT4 enable zooming though --no-qt-video-autoresize is set

brezhoneg1 brezhoneg1 at yahoo.fr
Tue Apr 21 22:35:37 CEST 2009



This patch is aimed to enable zooming for vlc in qt4 windowed mode when
--no-qt-video-autoresize is otherwise set.

Till now, this option forced to reuse a video size previously stored and
zooming was simply ignored. As pointed out in a post on the forum
(http://forum.videolan.org/viewtopic.php?f=7&t=53728&start=15 ),
enabling zooming can be useful.

I leave it to you to decide if this patch is fit for vlc1.0 (a bug
correction ?) or if it should wait for vlc1.1 

In a few words, this patch does :
- observe changes to the "zoom" variable at the vout level
- if a change occurs to "zoom", temporarily deactivate b_keep_size and
let vlc behave as if qt-video-autoresize was on.

Patch tested and working on Linux.

Erwan10

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-enable-zooming-when-no-qt-video-autoresize-is-set.patch
Type: application/octet-stream
Size: 6901 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20090421/bf17673d/attachment.obj>


More information about the vlc-devel mailing list