summaryrefslogtreecommitdiffstats
path: root/DOCS
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-12-02 19:22:45 +0100
committerwm4 <wm4@nowhere>2013-12-02 19:22:45 +0100
commit391035d8574ceef316112779035dc540dba4d264 (patch)
tree769ada924ee80cefea84bdd4961025ea3bc09f63 /DOCS
parent6fb020f5de1487484712e7113db0e86dd97481bd (diff)
downloadmpv-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 'DOCS')
0 files changed, 0 insertions, 0 deletions