summaryrefslogtreecommitdiffstats
path: root/waftools
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2019-11-16 23:54:43 +0100
committerwm4 <wm4@nowhere>2019-11-17 02:11:45 +0100
commit6bcda94cbc86bd1ab710546816b019e86bc92ec9 (patch)
treee6fbce4c394314bbb4ffd6b438454f75d875d12c /waftools
parentba6ba3282534a7606cadd73f25133cd7b106aecc (diff)
downloadmpv-6bcda94cbc86bd1ab710546816b019e86bc92ec9.tar.bz2
mpv-6bcda94cbc86bd1ab710546816b019e86bc92ec9.tar.xz
video: if hr-seek goes past last frame, seek to last frame
This gives much better behavior in general, and is what we want if video somehow ends earlier than audio. A common special is using an audio file with an external image file. This commit makes things like switching aspect ratio work (provided the demuxer for the image behaves correctly, which currently isn't the case with demux_mf.c). Since the image file had timestamp 0, it was usually skipped by hr-seek, and changed properties weren't applied to it at the start of the filter chain.
Diffstat (limited to 'waftools')
0 files changed, 0 insertions, 0 deletions