mpv/player
wm4 318e9801f2 vo_opengl: fix interpolation with display-sync
At least I hope so.

Deriving the duration from the pts was not really correct. It doesn't
include speed adjustments, and becomes completely wrong of the user e.g.
changes the playback speed by a huge amount. Pass through the accurate
duration value by adding a new vo_frame field.

The value for vsync_offset was not correct either. We don't need the
error for the next frame, but the error for the current one. This wasn't
noticed because it makes no difference in symmetric cases, like 24 fps
on 60 Hz.

I'm still not entirely confident in the correctness of this, but it sure
is an improvement.

Also, remove the MP_STATS() calls - they're not really useful to debug
anything anymore.
2015-11-28 15:45:49 +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: use demuxer ts offset to simplify timeline ts handling 2015-11-16 23:17:33 +01:00
client.c client API: change error string if playback fails completely 2015-10-26 15:55:40 +01:00
client.h
command.c command, vo: add estimated-display-fps property 2015-11-25 22:07:56 +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: always disable display-sync on desyncs 2015-11-27 14:40:52 +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: make timeline switching slightly nicer 2015-11-18 20:58:07 +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 win32: don't show progress indicator in idle mode 2015-11-23 19:50:13 +11:00
osd.c player: replace mistimed-frame-count with vsync-ratio on status line 2015-11-18 21:21:57 +01:00
playloop.c player: make timeline switching slightly nicer 2015-11-18 20:58:07 +01:00
screenshot.c screenshot: avoid confusing template error message with no file 2015-09-02 10:34:36 +02:00
screenshot.h
scripting.c path: make mp_path_join accept normal C strings 2015-05-09 15:26:47 +02:00
sub.c player: remove OSD subtitle render path 2015-11-17 01:56:23 +01:00
video.c vo_opengl: fix interpolation with display-sync 2015-11-28 15:45:49 +01:00