xvimagesink: calculate target rectangle correctly
authorWim Taymans <wim.taymans@collabora.co.uk>
Tue, 24 Jul 2012 10:02:34 +0000 (12:02 +0200)
committerWim Taymans <wim.taymans@collabora.co.uk>
Tue, 24 Jul 2012 10:02:34 +0000 (12:02 +0200)
commit9572ec0481e57de688c9307ec3fad256fee110f9
tree3b74a80915953c70cf8a3d91215dc174510ac5e3
parent17ff2b06432f7167687cfff58d686ce2013e24c0
xvimagesink: calculate target rectangle correctly

Use the negotiated size and PAR to center the image into the target window.

See https://bugzilla.gnome.org/show_bug.cgi?id=680093
sys/xvimage/xvimagesink.c