pvrvideosink: fix unwanted scaling on cropped videos
authorVincent Penquerc'h <vincent.penquerch@collabora.co.uk>
Mon, 9 Jul 2012 10:54:57 +0000 (10:54 +0000)
committerVincent Penquerc'h <vincent.penquerch@collabora.co.uk>
Mon, 9 Jul 2012 11:01:06 +0000 (11:01 +0000)
commitb6f0edf9c2e48c2871f9733cd2a51609ec4cd79a
tree278601161e23e5e9522ed91da1f4e8ddbcffb9b0
parent39836c75432b4008508884ed54c406c44824a83f
pvrvideosink: fix unwanted scaling on cropped videos

When a video with crop rectangle was used, the window was created with
the uncropped size, and kept that way after the crop event was received,
leading to a slight scaling of the video (and likely slight aspect ratio
change as well).

This is fixed by resizing the window to the cropped size when it changes.
sys/pvr2d/gstpvrvideosink.c