mpv/player
wm4 62b386c2fd player: compute required display-sync speed change differently
Instead of looking at the current frame duration for the intended
speedup, look at all past frames, and find a good average speed. This
ties in with not wanting to average _all_ frame durations, which
doesn't make sense in VFR situations.

This is currently done in the most naive way possible, but already sort
of works for VFR which switches between frame durations that are
integer multiples of a base rate. Certainly more improvements could
be made, such as trying to adjust directly on FPS changes, instead of
averaging everything, but for now this is not needed at all.
2015-11-13 22:47:14 +01:00
..
lua ytdl: disable --all-subs if "sub-lang" is in raw-options 2015-10-24 17:30:22 +02:00
audio.c player: silence sporadic error messages on audio init 2015-11-10 17:53:05 +01:00
client.c client API: change error string if playback fails completely 2015-10-26 15:55:40 +01:00
client.h vo_opengl_cb: don't render OSD while VO is not created 2015-03-23 16:32:59 +01:00
command.c player: refactor display-sync frame duration calculations 2015-11-13 22:45:40 +01:00
command.h video: always re-probe auto deint filter on filter reconfig 2015-07-21 21:54:15 +02:00
configfiles.c command: make time properties unavailable if timestamp is unknown 2015-10-16 16:16:10 +02:00
core.h player: refactor display-sync frame duration calculations 2015-11-13 22:45:40 +01:00
external_files.c external_files: deduplicate bstr functions 2015-11-09 22:41:19 -08:00
external_files.h player: rename and move find_subfiles.c 2015-09-20 18:05:06 +02:00
loadfile.c player: refactor display-sync frame duration calculations 2015-11-13 22:45:40 +01:00
lua.c osd: delay libass initialization as far as possible 2015-09-07 14:26:01 +02:00
main.c options: handle terminal/logging settings eagerly 2015-11-04 21:49:54 +01:00
misc.c stream: provide a stream_get_size() convenience function 2015-08-18 00:10:54 +02:00
osd.c command: rename vo-missed-frame-count property 2015-11-13 22:41:41 +01:00
playloop.c player: refactor display-sync frame duration calculations 2015-11-13 22:45:40 +01:00
screenshot.c screenshot: avoid confusing template error message with no file 2015-09-02 10:34:36 +02:00
screenshot.h client API: add a screenshot_raw command 2015-04-20 23:11:03 +02:00
scripting.c path: make mp_path_join accept normal C strings 2015-05-09 15:26:47 +02:00
sub.c sub: call ass_set_fonts() only once 2015-07-13 23:11:54 +02:00
video.c player: compute required display-sync speed change differently 2015-11-13 22:47:14 +01:00