Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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.
- Loading branch information