summaryrefslogtreecommitdiffstats
path: root/filters/f_hwtransfer.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2020-01-12 01:43:21 +0100
committerwm4 <wm4@nowhere>2020-01-12 01:43:21 +0100
commit68292a27808793d67238dbff442f31ca531bd109 (patch)
tree158aec2092b6d3d238f38c3d3fb98e522f5735f8 /filters/f_hwtransfer.h
parenta3f220ba4444a09dc23f810087630163ed5b0dc8 (diff)
downloadmpv-68292a27808793d67238dbff442f31ca531bd109.tar.bz2
mpv-68292a27808793d67238dbff442f31ca531bd109.tar.xz
f_hwtransfer: restructure and error properly on broken cases
I think the previous code didn't consider the situation if the input format was not any of the upload formats. It then could have possibly tried to upload the wrong format (and not sure what the underlying APIs do with it). Take care of this, also improve logging, and change it such that mp_hwupload_find_upload_format() does not unnecessarily change the state (although it doesn't really matter).
Diffstat (limited to 'filters/f_hwtransfer.h')
0 files changed, 0 insertions, 0 deletions