summaryrefslogtreecommitdiffstats
path: root/options.h
diff options
context:
space:
mode:
authorUoti Urpala <uau@mplayer2.org>2011-07-28 11:39:43 +0300
committerUoti Urpala <uau@mplayer2.org>2011-07-29 05:50:38 +0300
commitf25accbc510b641ac75a1f274376616417763ae5 (patch)
tree8ef7aa6cc1470fb61f2cd46a3b82aec6cc06ead3 /options.h
parente873d703e956d3e2e68b9e18562983b029b5c7a8 (diff)
downloadmpv-f25accbc510b641ac75a1f274376616417763ae5.tar.bz2
mpv-f25accbc510b641ac75a1f274376616417763ae5.tar.xz
core: improve --loop handling
Make per-file loop option start from --ss position, not always 0. Do looping in more cases; before looping was only done when encountering real end of file, now it also happens for example at --endpos or --frames limits. Also move the --ss option to the option struct.
Diffstat (limited to 'options.h')
-rw-r--r--options.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/options.h b/options.h
index 46d1cf85b7..3349d52edf 100644
--- a/options.h
+++ b/options.h
@@ -62,6 +62,7 @@ typedef struct MPOpts {
int consolecontrols;
int doubleclick_time;
int list_properties;
+ double seek_to_sec;
int audio_id;
int video_id;
int sub_id;