summaryrefslogtreecommitdiffstats
path: root/core/options.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-06-25 00:03:37 +0200
committerwm4 <wm4@nowhere>2013-06-25 00:34:58 +0200
commit00de44eec90e45f4801e45d636b6759e1fdb9d2f (patch)
tree944b084ba34c465e861c0bd6f48bdccabcf82556 /core/options.h
parent125c20bd081a7d99681f3ac25174c1360b885436 (diff)
downloadmpv-00de44eec90e45f4801e45d636b6759e1fdb9d2f.tar.bz2
mpv-00de44eec90e45f4801e45d636b6759e1fdb9d2f.tar.xz
options: add -sub-speed option
Should we actually get into trouble for unproper handling of frame-based subtitle formats, this might be the simplest way to work this around. Also is a bit more intuitive than -subfps, which might use an unknown, misdetected, or non-sense video FPS. Still pretty silly, though.
Diffstat (limited to 'core/options.h')
-rw-r--r--core/options.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/options.h b/core/options.h
index 6ec051ddca..0c6f6c7271 100644
--- a/core/options.h
+++ b/core/options.h
@@ -141,6 +141,7 @@ typedef struct MPOpts {
int sub_pos;
float sub_delay;
float sub_fps;
+ float sub_speed;
int forced_subs_only;
char *quvi_format;