summaryrefslogtreecommitdiffstats
path: root/core/options.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-08-04 23:56:20 +0200
committerwm4 <wm4@nowhere>2013-08-05 00:00:26 +0200
commitee2e3b3374c4756dc881962bea4e4615805a8122 (patch)
treeeefd7cd4f17e6b68d2a7eebf4d9fcd1db0b9b1f1 /core/options.h
parentcccfac47a423cbaeda04f9864c4676ed1c9d5002 (diff)
downloadmpv-ee2e3b3374c4756dc881962bea4e4615805a8122.tar.bz2
mpv-ee2e3b3374c4756dc881962bea4e4615805a8122.tar.xz
core: change speed option/property to double
The --speed option and the speed property used float. Change them to double. Change the commands that manipulate the property (speed_mult/add) to double as well. Since the cycle command shares code with the add command, we change that as well. The reason for this change is that this allows better control over speed, such as stepping by semitones. Using floats is also just plain unnecessary.
Diffstat (limited to 'core/options.h')
-rw-r--r--core/options.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/options.h b/core/options.h
index 9a8deb9e4d..c83ab7a73a 100644
--- a/core/options.h
+++ b/core/options.h
@@ -159,7 +159,7 @@ typedef struct MPOpts {
int audio_output_format;
int force_srate;
int dtshd;
- float playback_speed;
+ double playback_speed;
struct m_obj_settings *vf_settings;
struct m_obj_settings *af_settings;
float movie_aspect;