summaryrefslogtreecommitdiffstats
path: root/options.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 /options.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 'options.h')
-rw-r--r--options.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/options.h b/options.h
index 9cd4f04761..53afe4d805 100644
--- a/options.h
+++ b/options.h
@@ -42,7 +42,7 @@ typedef struct MPOpts {
int osd_fractions;
char *vobsub_name;
int auto_quality;
- int benchmark;
+ int untimed;
char *stream_dump_name;
int capture_dump;
int loop_times;