[vlc-devel] Implementing crop using the current vout API
Rémi Denis-Courmont
remi at remlab.net
Sat Mar 10 20:02:34 CET 2012
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.
--
Rémi Denis-Courmont
http://www.remlab.net/
http://fi.linkedin.com/in/remidenis
More information about the vlc-devel
mailing list