summaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-09-25 12:14:19 +0200
committerwm4 <wm4@nowhere>2015-09-25 12:14:19 +0200
commit0a6c334b592d4fd5e61addb9ba28b1182aecb6d9 (patch)
treec030cd1e24da70e489068173e204ee00f82fb073 /wscript
parent38b747bb677400ecb2dccbcd5e1e393cff616905 (diff)
downloadmpv-0a6c334b592d4fd5e61addb9ba28b1182aecb6d9.tar.bz2
mpv-0a6c334b592d4fd5e61addb9ba28b1182aecb6d9.tar.xz
vo_opengl: vaapi: undo vaAcquireBufferHandle() correctly on error
Checking and resetting the VAImage.buf field is non-sense, even if it happened to work out in the normal case. buf is actually freed when vaDestroyImage() is called (not quite intuitive), and we need an extra field to know whether vaReleaseBufferHandle() has to be called.
Diffstat (limited to 'wscript')
0 files changed, 0 insertions, 0 deletions