diff options
author | wm4 <wm4@nowhere> | 2017-02-17 13:32:27 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2017-02-17 13:32:27 +0100 |
commit | 1e4fd996bb249a773bad5d57ac5b724be52a09af (patch) | |
tree | b8d866473894b8087b941b4fee21bbfd317a8d92 /misc | |
parent | e8137ee88154b496b2370bbdd93cd3cb3564dc86 (diff) | |
download | mpv-1e4fd996bb249a773bad5d57ac5b724be52a09af.tar.bz2 mpv-1e4fd996bb249a773bad5d57ac5b724be52a09af.tar.xz |
videotoolbox: factor some duplicated code
The code for copying a videotoolbox surface to mp_image was duplicated
(with some minor differences - I picked the hw_videotoolbox.c version,
because it was "better"). mp_imgfmt_from_cvpixelformat() is somewhat
duplicated with the vt_formats[] table, but this will be fixed in a
later commit, and moving the function to shared code is preparation.
Diffstat (limited to 'misc')
0 files changed, 0 insertions, 0 deletions