summaryrefslogtreecommitdiffstats
path: root/misc/dispatch.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2020-03-05 11:33:37 +0100
committerwm4 <wm4@nowhere>2020-03-05 22:00:50 +0100
commitc1ff54e2e4ec3e93f20afac99f085fd632cbcc4e (patch)
tree1727faed4b779e73b39206af9b70a657d3e0795a /misc/dispatch.c
parent23f560daa35681528113444e75ae28a329e16604 (diff)
downloadmpv-c1ff54e2e4ec3e93f20afac99f085fd632cbcc4e.tar.bz2
mpv-c1ff54e2e4ec3e93f20afac99f085fd632cbcc4e.tar.xz
f_decoder_wrapper: enable DR and hwdec with --vd-queue-enable
This was forgotten. Hardware decoding typically breaks immediately, because many hw decoding APIs require allocating all surfaces in advance (and/or libavcodec was not made flexible enough to add new surfaces later). If the queue is large enough, it will run out of surfaces, fail decoding, and fall back to software decoding. We consider this the user's fault. --hwdec-extra-frames can be used to avoid this, if you have enough GPU memory, and the needed number of frames is lower than the arbitrary mpv-set maximum limit of that option.
Diffstat (limited to 'misc/dispatch.c')
0 files changed, 0 insertions, 0 deletions