summaryrefslogtreecommitdiffstats
path: root/video/mp_image_pool.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-10-19 17:49:30 +0200
committerwm4 <wm4@nowhere>2015-10-19 17:49:30 +0200
commit0ab6031d76df43a8204e2bbc7eae2a93eb1cc383 (patch)
treee05596953f5f100b755c8c23bb0c6635c5eb1b78 /video/mp_image_pool.c
parent667b968939fc3dea63e010c3b64e465225a2321a (diff)
downloadmpv-0ab6031d76df43a8204e2bbc7eae2a93eb1cc383.tar.bz2
mpv-0ab6031d76df43a8204e2bbc7eae2a93eb1cc383.tar.xz
vd_lavc: continue decoding properly after decoding failure
Commit 12cd48a8 started setting the hwdec_failed field even if hwdec was not active, and because it also checked this field even if hwdec was not active, broke decoding forever. Fix this, and also avoid a memory leak or API misuse by releasing the decoded picture. Passing an unreleased frame to the decoder has as far as I know no defined effects.
Diffstat (limited to 'video/mp_image_pool.c')
0 files changed, 0 insertions, 0 deletions