diff options
author | wm4 <wm4@nowhere> | 2015-04-26 18:56:46 +0200 |
---|---|---|
committer | Diogo Franco (Kovensky) <diogomfranco@gmail.com> | 2015-04-28 08:32:45 +0900 |
commit | 192af725e6871d1e8054b37a2b911f69d87c6a20 (patch) | |
tree | 3808d920a63d11ba245983d8f21ae13dc90b814a /stream | |
parent | d27bb1ce80eb2ddb51253f6d346a5ea7d17bac75 (diff) | |
download | mpv-192af725e6871d1e8054b37a2b911f69d87c6a20.tar.bz2 mpv-192af725e6871d1e8054b37a2b911f69d87c6a20.tar.xz |
vdpau: always render to cropped size at most
vo_opengl (or gl_hwdec_vdpau.c to be specific) calls
mp_vdpau_mixer_render() with video_rect=NULL, which means to use the
full surface. This is incorrect if the surface is actually cropped, as
it can happen with h264. In this case, it was rendering the parts
outside of the image.
Fix it by making this case use the cropped size instead.
Alternative fix for PR #1863.
(cherry picked from commit a5ed6e49bf87500ed606437901f00ae9b3da138f)
Diffstat (limited to 'stream')
0 files changed, 0 insertions, 0 deletions