]> git.sesse.net Git - vlc/commit
XCB/XVideo: request correct picture format from the adaptor
authorRémi Denis-Courmont <remi@remlab.net>
Fri, 12 Dec 2014 15:02:45 +0000 (17:02 +0200)
committerRémi Denis-Courmont <remi@remlab.net>
Fri, 12 Dec 2014 15:02:45 +0000 (17:02 +0200)
commit4aa17707fc63c59ea173347d9b695a9a415822fe
tree954779d8c43c31a589592be417a7855e400366ad
parentf37b3cb09cd3266e4f50c4aaf754677cc0ea97b8
XCB/XVideo: request correct picture format from the adaptor

This is bug compatibility for XVideo drivers that scale the whole
picture rather than the source rectangle (the XVideo 2 specification
does not really state which behaviour is correct).

This works because the video output core only applies crop parameters
*after* the vout display plugin is activated. This is brittle though:
the A/R and crop parameters should probably be passed as configuration
like zoom.
modules/video_output/xcb/xvideo.c