mpv/stream
wm4 5bd6b76f5c cache: simplify speed calculations
Remove the attempted cleverness; keep it dumb.

This strictly calculates the average speed over an at least 1 second
window (longer if I/O blocks it).

Since this doesn't reset the speed anymore when reading stops by going
idle, the results might actually be more accurate now.
2016-05-12 22:37:45 +02:00
..
ai_alsa1x.c stream/audio: fix unchecked strdups 2015-10-30 15:51:26 +01:00
ai_oss.c stream/audio: fix unchecked strdups 2015-10-30 15:51:26 +01:00
ai_sndio.c stream/audio: fix unchecked strdups 2015-10-30 15:51:26 +01:00
audio_in.c stream/audio: fix unchecked strdups 2015-10-30 15:51:26 +01:00
audio_in.h Update license headers 2015-04-13 12:10:01 +02:00
cache.c cache: simplify speed calculations 2016-05-12 22:37:45 +02:00
cache_file.c Relicense some non-MPlayer source files to LGPL 2.1 or later 2016-01-19 18:36:06 +01:00
cookies.c Update license headers 2015-04-13 12:10:01 +02:00
cookies.h Update license headers 2015-04-13 12:10:01 +02:00
dvb_tune.c dvb: remove trailing whitespace 2016-01-22 11:55:47 +01:00
dvb_tune.h stream_dvb: support frontends with multiple delivery systems. 2016-01-21 00:34:02 +01:00
dvbin.h build: make DVB test stricter 2016-04-02 20:51:39 +02:00
frequencies.c Update license headers 2015-04-13 12:10:01 +02:00
frequencies.h Update license headers 2015-04-13 12:10:01 +02:00
rar.c mpv_talloc.h: rename from talloc.h 2016-01-11 21:05:55 +01:00
rar.h stream: redo playback abort handling 2014-09-13 16:09:51 +02:00
stream.c stream: stream_read_complete() reads from current pos, not 0 2016-01-12 23:50:17 +01:00
stream.h cache: use a single STREAM_CTRL for various cache info 2016-03-29 11:29:52 +02:00
stream_avdevice.c Relicense some non-MPlayer source files to LGPL 2.1 or later 2016-01-19 18:36:06 +01:00
stream_bluray.c mpv_talloc.h: rename from talloc.h 2016-01-11 21:05:55 +01:00
stream_cdda.c stream_cdda: enable cache by default 2016-05-10 11:17:52 +02:00
stream_dvb.c stream_dvb: fix minor resource leaks 2016-02-12 15:51:49 +01:00
stream_dvd.c mpv_talloc.h: rename from talloc.h 2016-01-11 21:05:55 +01:00
stream_dvd_common.c Update license headers 2015-04-13 12:10:01 +02:00
stream_dvd_common.h Update license headers 2015-04-13 12:10:01 +02:00
stream_dvdnav.c demux: remove relative seeking 2016-02-28 19:28:34 +01:00
stream_edl.c stream: always disable cache for pseudo-streams 2014-12-24 14:33:34 +01:00
stream_file.c win32: fix fd:// 2016-01-07 23:37:06 +11:00
stream_lavf.c mpv_talloc.h: rename from talloc.h 2016-01-11 21:05:55 +01:00
stream_libarchive.c stream_libarchive: make libarchive seek callback lazy 2015-11-09 22:41:19 -08:00
stream_libarchive.h stream_libarchive: add multivolume support 2015-11-09 22:41:19 -08:00
stream_memory.c stream_memory: add hex:// protocol 2016-04-20 18:00:20 +02:00
stream_mf.c Update license headers 2015-04-13 12:10:01 +02:00
stream_null.c Update license headers 2015-04-13 12:10:01 +02:00
stream_rar.c stream_rar: update comment 2015-03-29 13:37:14 +02:00
stream_smb.c Update license headers 2015-04-13 12:10:01 +02:00
stream_tv.c Update license headers 2015-04-13 12:10:01 +02:00
tv.c Update license headers 2015-04-13 12:10:01 +02:00
tv.h Update license headers 2015-04-13 12:10:01 +02:00
tvi_def.h Update license headers 2015-04-13 12:10:01 +02:00
tvi_dummy.c Update license headers 2015-04-13 12:10:01 +02:00
tvi_v4l2.c Update license headers 2015-04-13 12:10:01 +02:00