Mercurial > mplayer.hg
diff cfg-common.h @ 22312:cca9ff25bed2
Move parsing of the -ss option to the option code.
Also fixes a memory leak of the parameter string.
author | uau |
---|---|
date | Sat, 24 Feb 2007 07:11:57 +0000 |
parents | 8bf15e2ca61e |
children | f3d7a1b58a82 |
line wrap: on
line diff
--- a/cfg-common.h Fri Feb 23 22:14:15 2007 +0000 +++ b/cfg-common.h Sat Feb 24 07:11:57 2007 +0000 @@ -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},