diff options
author | wm4 <wm4@nowhere> | 2013-12-02 19:22:45 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-12-02 19:22:45 +0100 |
commit | 391035d8574ceef316112779035dc540dba4d264 (patch) | |
tree | 769ada924ee80cefea84bdd4961025ea3bc09f63 /README.md | |
parent | 6fb020f5de1487484712e7113db0e86dd97481bd (diff) | |
download | mpv-391035d8574ceef316112779035dc540dba4d264.tar.bz2 mpv-391035d8574ceef316112779035dc540dba4d264.tar.xz |
gl_video: use hwdec download_image call only if hwdec is active
The hwdec driver can be loaded, even if it's not used (e.g. when playing
a file with no hardware decoding after one with it enabled).
Also, check whether dlimage is NULL. Since this will do call into the
native hwdec API, there's a chance a driver could fail doing this, it's
better to check the return value, even if this case currently can't
happen.
Diffstat (limited to 'README.md')
0 files changed, 0 insertions, 0 deletions