summaryrefslogtreecommitdiffstats
path: root/cfg-common.h
diff options
context:
space:
mode:
authoruau <uau@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-02-24 07:11:57 +0000
committeruau <uau@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-02-24 07:11:57 +0000
commite5ab09bb64448e8d60f081891fb85d742c83c9a0 (patch)
tree1c6bda6d0253cc0bf49516771c68a63371286acd /cfg-common.h
parentac8d43dbed744f4e541184fe43e9c2a4d2ec6643 (diff)
downloadmpv-e5ab09bb64448e8d60f081891fb85d742c83c9a0.tar.bz2
mpv-e5ab09bb64448e8d60f081891fb85d742c83c9a0.tar.xz
Move parsing of the -ss option to the option code.
Also fixes a memory leak of the parameter string. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22330 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'cfg-common.h')
-rw-r--r--cfg-common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cfg-common.h b/cfg-common.h
index caf7248fd2..ab01146d92 100644
--- a/cfg-common.h
+++ b/cfg-common.h
@@ -93,7 +93,7 @@
// seek to byte/seconds position
{"sb", &seek_to_byte, CONF_TYPE_POSITION, CONF_MIN, 0, 0, NULL},
- {"ss", &seek_to_sec, CONF_TYPE_STRING, CONF_MIN, 0, 0, NULL},
+ {"ss", &seek_to_sec, CONF_TYPE_TIME, 0, 0, 0, NULL},
// stop at given position
{"endpos", &end_at, CONF_TYPE_TIME_SIZE, 0, 0, 0, NULL},