summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2016-09-26 17:55:00 +0200
committerwm4 <wm4@nowhere>2016-09-26 17:55:00 +0200
commitdd339b200be99ecac1a0bb4a7509b338120c5bce (patch)
tree601e50767159ddc73118fabfa6ec5b42d0406c64 /etc
parente6dedbcc230f6382875bbb5f78a918dc204e8baa (diff)
downloadmpv-dd339b200be99ecac1a0bb4a7509b338120c5bce.tar.bz2
mpv-dd339b200be99ecac1a0bb4a7509b338120c5bce.tar.xz
video: trust demuxer framerate on invalid timestamps
If the PTS goes backwards (whether it's a timestamp reset or some other problem) would just use 0 as frame duration. (At least until the logic for detecting divergence with the timestamps gets active.) Trust the demuxer framerate in these cases instead, if it's available. I think this improves behavior slightly with some broken files.
Diffstat (limited to 'etc')
0 files changed, 0 insertions, 0 deletions