I'm trying to make simple video crop function in opengl, like in the patch
The idea is to 'zoom' part of texture, and then scale and position
videoplane so that 'zoomed' texture retains original size&position on
It sort of works, but I'm a bit stuck with the problem when the video is
rotated - it gets moved incorrectly*, probably because I should apply some
trigonometry functions on offset x&y coordinates.
* when i move right crop point, and the video is rotated, it also moves
up-down. I would like it to stay in place.
sorry for the confusion&