From 0f48820eccdce95047a3d5c025a660e79ad48239 Mon Sep 17 00:00:00 2001 From: wm4 Date: Mon, 30 Jul 2012 00:27:50 +0200 Subject: 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). --- cfg-mplayer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cfg-mplayer.h') 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")), -- cgit v1.2.3