[vlc-devel] [vlc-commits] video_filter/transform.c: Horizontal and Vertical flip where swapped.

Laurent Aimar fenrir at elivagar.org
Wed May 30 17:47:25 CEST 2012


On Wed, May 30, 2012 at 01:52:59PM +0200, Jean-Paul Saman wrote:
> vlc | branch: master | Jean-Paul Saman <jean-paul.saman at m2x.nl> | Wed May 30 13:23:40 2012 +0200| [4f71d0bb6fde63edb765fcc7dae194195a43ef74] | committer: Jean-Paul Saman
> 
> video_filter/transform.c: Horizontal and Vertical flip where swapped.
> 
> The transform video_filter mixed up horizontal and vertical flip. They
> were swapped. This patch corrects that.

I don't think that's correct.

Unless mistaken, an horizontal flip, reflects an image along the central vertical
axis of the picture. And if so, the previous HFlip definition was the correct one
(ie change only x).
Same for the vertical flip.

I haven't tested if VLC does actually that though.

-- 
fenrir




More information about the vlc-devel mailing list