summaryrefslogtreecommitdiffstats
path: root/cfg-mplayer.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2012-07-30 00:27:50 +0200
committerwm4 <wm4@nowhere>2012-07-30 01:49:35 +0200
commit0f48820eccdce95047a3d5c025a660e79ad48239 (patch)
treef9edb2aafd848950027e4a5cc7c2defc2cfc9d22 /cfg-mplayer.h
parent69c13af3812c0b5da289493ff2a348326cf97b30 (diff)
downloadmpv-0f48820eccdce95047a3d5c025a660e79ad48239.tar.bz2
mpv-0f48820eccdce95047a3d5c025a660e79ad48239.tar.xz
mplayer: remove benchmarking/CPU accounting code
The code used for benchmarking and showing CPU stats in the status line was inaccurate, misleading and fragile. The final nail in the coffin is the fact that many libav decoders are multithreaded now, and mplayer couldn't possibly measure the CPU time consumed by them. Add the --untimed option. This makes the video untimed, just like --benchmark did (still requires disabling audio synchronization).
Diffstat (limited to 'cfg-mplayer.h')
-rw-r--r--cfg-mplayer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cfg-mplayer.h b/cfg-mplayer.h
index 1f937c1635..2d3b94ac47 100644
--- a/cfg-mplayer.h
+++ b/cfg-mplayer.h
@@ -834,7 +834,7 @@ const m_option_t mplayer_opts[]={
OPT_INTRANGE("autoq", auto_quality, 0, 0, 100),
- OPT_FLAG_ON("benchmark", benchmark, 0),
+ OPT_FLAG_ON("untimed", untimed, 0),
// dump some stream out instead of playing the file
OPT_STRING("dumpfile", stream_dump_name, 0, OPTDEF_STR("stream.dump")),