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

Felix Paul Kühne fkuehne.videolan at googlemail.com
Sun Mar 11 00:07:45 CET 2012


Hey Rémi,

On 10.03.2012, at 19:28, Rémi Denis-Courmont wrote:

> Le samedi 10 mars 2012 20:02:49 Felix Paul Kühne, vous avez écrit :
>> http://pastie.org/3565475
> 
> You cannot invalidate picture buffers from a hardware-scaling video output 
> (contrary to x11).

Thanks for the obvious *cough* insight.


I re-wrote the code and got something working now, which doesn't show any of the previously mentioned symptoms.

However, a single problem is left: when going back to the "Default" state after cycling through the crop modes, the video isn't reset to Default, but some weird excerpt of the video, which doesn't fit any of the pre-defined formats.

Here's the diff: http://pastie.org/3567162 (virtually no Obj-C inside)

Any idea?


Thanks a lot.

Felix


More information about the vlc-devel mailing list