summaryrefslogtreecommitdiffstats
path: root/player/video.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-11-27 14:36:13 +0100
committerwm4 <wm4@nowhere>2015-11-27 14:40:37 +0100
commit41f2c653e27a0e4659458540f1bcc7786ec3339b (patch)
tree507b0e344883eabb34a4f56755a493049ebb5b2c /player/video.c
parent85498a0797c36afc383aa1bf911bc760428616b2 (diff)
downloadmpv-41f2c653e27a0e4659458540f1bcc7786ec3339b.tar.bz2
mpv-41f2c653e27a0e4659458540f1bcc7786ec3339b.tar.xz
vo: disregard system-reported display FPS if it's too imprecise
If the system-reported display FPS (returned by the VO backends, or forced with --display-fps) is too imprecise (deviating frame duration by more than 1%). This works if the display FPS is off by almost 1 (typical for old/bad/broken OS APIs). Actually it even works if the FPs is completely wrong. Is it a good idea? Probably not. It might be better to only output a warning message. But unless there are reports about it going terribly wrong, I'll go with this for now.
Diffstat (limited to 'player/video.c')
0 files changed, 0 insertions, 0 deletions