diff options
author | wm4 <wm4@nowhere> | 2016-05-19 22:56:11 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2016-05-19 22:56:11 +0200 |
commit | e431a7bbfd86e667f8bbf871247c2afd97931b97 (patch) | |
tree | 46d590b9e43ce8ec69e2dd9b068334c9c384a951 /input/event.c | |
parent | 05b3a8cd1413c3903e4713ad7748739d39ac7781 (diff) | |
download | mpv-e431a7bbfd86e667f8bbf871247c2afd97931b97.tar.bz2 mpv-e431a7bbfd86e667f8bbf871247c2afd97931b97.tar.xz |
vf_crop: support opaque hardware decoding formats
Cropping usually happens by adjusting the plane start pointers and the
image size. The former is obviously not possible for opaque hwaccel
formats, but the latter must work.
Since the code already takes care of aligning the top/left crop origin
to chroma alignment, simply set the crop origin to 0/0 in the hwaccel
case. Also add a message if such an adjustment happens.
Supporting this isn't worth much; the main usefulness is with debugging.
Diffstat (limited to 'input/event.c')
0 files changed, 0 insertions, 0 deletions