mpv/player
wm4 8db9206c54 player: simplify an aspect of buffering determination
Calculate the buffering percentage in the same code which determines
whether the player is or should be buffering. In particular it can't
happen that percentage and buffering state are slightly out of sync due
to calling DEMUXER_CTRL_GET_READER_STATE and reusing it with the
previously determined buffering state.

Now it's also easier to guarantee that the buffering state is updated
properly.

Add some more verbose output as well.

(Damn I hate this code, why did I write it?)
2016-04-19 22:01:30 +02:00
..
lua lua: don't require key for mp.add_key_binding() 2016-03-26 10:44:57 +01:00
audio.c player: add missing audio reconfig events 2016-03-13 15:52:17 +01:00
client.c command: log property set calls 2016-04-15 13:20:05 +02:00
client.h global: add client API pointer to library handle 2016-01-15 22:54:08 +01:00
command.c player: simplify an aspect of buffering determination 2016-04-19 22:01:30 +02:00
command.h video: always re-probe auto deint filter on filter reconfig 2015-07-21 21:54:15 +02:00
configfiles.c mpv_talloc.h: rename from talloc.h 2016-01-11 21:05:55 +01:00
core.h player: simplify an aspect of buffering determination 2016-04-19 22:01:30 +02:00
external_files.c player: add wv to list of external audio file extensions 2016-03-26 18:24:07 +01:00
external_files.h player: rename and move find_subfiles.c 2015-09-20 18:05:06 +02:00
lavfi.c lavfi: dump the filter graph 2016-02-12 20:28:07 +01:00
lavfi.h player: add complex filter graph support 2016-02-05 23:19:56 +01:00
loadfile.c player: simplify an aspect of buffering determination 2016-04-19 22:01:30 +02:00
lua.c osd: cleanup: make OSDTYPE_ constants private to OSD code 2016-03-08 22:01:57 +01:00
main.c ipc: add Windows implementation with named pipes 2016-03-23 23:15:20 +11:00
misc.c cache: use a single STREAM_CTRL for various cache info 2016-03-29 11:29:52 +02:00
osd.c player: hide cache in status line by default again 2016-03-30 11:40:13 +02:00
playloop.c player: simplify an aspect of buffering determination 2016-04-19 22:01:30 +02:00
screenshot.c player: fix use-after-free with --screenshot-directory 2016-04-14 22:48:12 +02:00
screenshot.h Relicense some non-MPlayer source files to LGPL 2.1 or later 2016-01-19 18:36:06 +01:00
scripting.c Relicense some non-MPlayer source files to LGPL 2.1 or later 2016-01-19 18:36:06 +01:00
sub.c osd: cleanup: make OSDTYPE_ constants private to OSD code 2016-03-08 22:01:57 +01:00
video.c player: fix breakage when combining 3D and rotate auto-filters 2016-03-28 19:39:33 +02:00