summaryrefslogtreecommitdiffstats
path: root/video/decode
diff options
context:
space:
mode:
authorJames Ross-Gowan <rossy@jrg.systems>2019-10-19 00:12:06 +1100
committerJames Ross-Gowan <rossy@jrg.systems>2019-10-26 01:14:01 +1100
commit7384b054335b334d040f11ee22129afc99b77f63 (patch)
treef97197c08a94f7817b07377e77b1527996a462bf /video/decode
parentca0177481b910c606e482a525d16c698bb340e82 (diff)
downloadmpv-7384b054335b334d040f11ee22129afc99b77f63.tar.bz2
mpv-7384b054335b334d040f11ee22129afc99b77f63.tar.xz
vo_gpu: d3d11: prevent wraparound in queued frames calc
If expected_sync_pc is greater than submit_count, the unsigned subtraction will wraparound, which breaks playback. This bug was found while experimenting with bit-blt model present, but it might be possible to trigger it with the flip model as well, if there was a dropped frame.
Diffstat (limited to 'video/decode')
0 files changed, 0 insertions, 0 deletions