summaryrefslogtreecommitdiffstats
path: root/demux/demux.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2017-11-03 15:11:14 +0100
committerwm4 <wm4@nowhere>2017-11-03 15:11:56 +0100
commit5261d1b099edf16712582790085f4d369438dfe5 (patch)
treebed69f41692667b41514cd60615e05d6fa74b296 /demux/demux.c
parent4fca1856e15e5294fb127ffd9d9a434ec4a2c2df (diff)
downloadmpv-5261d1b099edf16712582790085f4d369438dfe5.tar.bz2
mpv-5261d1b099edf16712582790085f4d369438dfe5.tar.xz
vo_gpu: don't re-render hwdec frames when repeating frames
Repeating frames (for display-sync) is not supposed to render the entire frame again. When using hardware decoding, it unfortunately did: the renderer uses the frame ID to check whether the frame data changed, and unmapping the hwdec frame clears it. Essentially reverts commit 761eeacf5407cab07. Back then I probably thought it would be a good idea to release the hwdec image quickly in order to return it to the decoder, but they're referenced anyway. This should increase the performance and reduce GPU work.
Diffstat (limited to 'demux/demux.c')
0 files changed, 0 insertions, 0 deletions