diff options
author | wm4 <wm4@nowhere> | 2020-01-12 01:43:21 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2020-01-12 01:43:21 +0100 |
commit | 68292a27808793d67238dbff442f31ca531bd109 (patch) | |
tree | 158aec2092b6d3d238f38c3d3fb98e522f5735f8 /.github | |
parent | a3f220ba4444a09dc23f810087630163ed5b0dc8 (diff) | |
download | mpv-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 '.github')
0 files changed, 0 insertions, 0 deletions