[vlc-devel] Implementing crop using the current vout API

David Fuhrmann david.fuhrmann at googlemail.com
Sat Mar 10 20:35:20 CET 2012


Am 10.03.2012 um 20:02 schrieb Rémi Denis-Courmont:

> Le samedi 10 mars 2012 20:42:08 David Fuhrmann, vous avez écrit :
>> Hi,
>> 
>> Some time ago, I browsed through the code as well in order to find the
>> reason why crop does not work on mac. All opengl vouts for other platforms
>> seem to work flawlessly with crop. When I looked at the code for the linux
>> opengl vout, I came to the conclusion that the results of all calls to
>> placePicture (and similar) are only used for other vout variants, but not
>> for the opengl one.
> 
> I wonder how you came to that conclusion. Both the (E)GL and GLX use the 
> picture placement explicitly to adjust their OpenGL view port. In fact, XVideo 
> does that too. Any hardware-scaled and hardware-cropped video output will do 
> that.

Oh, yeah, you are right.


More information about the vlc-devel mailing list