0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-20 03:52:22 +02:00
mpv/player
wm4 acd5816a6d video: fix framedrop accounting in display-sync mode
Commit a1315c76 broke this slightly. Frame drops got counted multiple
times, and also vo.c was actually trying to "render" the dropped frame
over and over again (normally not a problem, since frames are always
queued "tightly" in display-sync mode, but could have caused 100% CPU
usage in some rare corner cases).

Do not repeat already dropped frames, but still treat new frames with
num_vsyncs==0 as dropped frames. Also, strictly count dropped frames in
the VO. This means we don't count "soft" dropped frames anymore (frames
that are shown, but for fewer vsyncs than intended). This will be
adjusted in the next commit.
2015-10-30 13:26:55 +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: reset AO stats on pause and other discontinuities 2015-10-28 23:57:24 +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 command: make bitrate properties work correctly for external tracks 2015-10-23 14:58:01 +02: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: add audio drop/duplicate mode 2015-10-27 20:56:46 +01:00
external_files.c player: add wav to list of external audio file extensions 2015-10-04 19:48:58 +02:00
external_files.h player: rename and move find_subfiles.c 2015-09-20 18:05:06 +02:00
loadfile.c player: make stop command actually stop 2015-10-06 18:19:20 +02:00
lua.c osd: delay libass initialization as far as possible 2015-09-07 14:26:01 +02:00
main.c player: fix another --force-window bug 2015-09-23 22:03:11 +02:00
misc.c stream: provide a stream_get_size() convenience function 2015-08-18 00:10:54 +02:00
osd.c player: offset chapter display by start time 2015-10-23 12:14:17 +02:00
playloop.c command: make time properties unavailable if timestamp is unknown 2015-10-16 16:16:10 +02: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 video: fix framedrop accounting in display-sync mode 2015-10-30 13:26:55 +01:00