summaryrefslogtreecommitdiffstats
path: root/video/out/opengl/hwdec_drmprime_drm.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2018-02-05 21:09:30 +0100
committerKevin Mitchell <kevmitch@gmail.com>2018-02-05 23:34:42 -0800
commit9282a34fbf718618b4fb2a19b9043ec6f104eab3 (patch)
tree9a43fe246ae0e45cf3eb744b050a14d80a0c83c1 /video/out/opengl/hwdec_drmprime_drm.c
parente3d93fde2f60c3eef9673e73d7fe156f27ee715f (diff)
downloadmpv-9282a34fbf718618b4fb2a19b9043ec6f104eab3.tar.bz2
mpv-9282a34fbf718618b4fb2a19b9043ec6f104eab3.tar.xz
vd_lavc: fix stall with some uses of --hwdec=copy
Also a regression of the filter change. The new code is more picky about EOF states, and it turns out the weird delay queue (used with some hwdec copy back modes only) accidentally dropped an EOF event. It reset the avctx before the delay queue was drained, which meant it never returned the expected AVERROR_EOF status code. Also don't signal EOF when copy back fails. It should just try to continue until fallback is performed.
Diffstat (limited to 'video/out/opengl/hwdec_drmprime_drm.c')
0 files changed, 0 insertions, 0 deletions