summaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2016-05-19 22:56:11 +0200
committerwm4 <wm4@nowhere>2016-05-19 22:56:11 +0200
commite431a7bbfd86e667f8bbf871247c2afd97931b97 (patch)
tree46d590b9e43ce8ec69e2dd9b068334c9c384a951 /wscript
parent05b3a8cd1413c3903e4713ad7748739d39ac7781 (diff)
downloadmpv-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 'wscript')
0 files changed, 0 insertions, 0 deletions