Mercurial > mplayer.hg
diff command.c @ 23417:a829005cbcd5
Make the length property use the time type.
author | albeu |
---|---|
date | Thu, 31 May 2007 13:02:51 +0000 |
parents | ae4237717601 |
children | f6055798121d |
line wrap: on
line diff
--- a/command.c Thu May 31 12:42:02 2007 +0000 +++ b/command.c Thu May 31 13:02:51 2007 +0000 @@ -1383,8 +1383,8 @@ M_OPT_MIN, 0, 0, NULL }, { "stream_length", mp_property_stream_length, CONF_TYPE_POSITION, M_OPT_MIN, 0, 0, NULL }, - { "length", mp_property_length, CONF_TYPE_DOUBLE, - 0, 0, 0, NULL }, + { "length", mp_property_length, CONF_TYPE_TIME, + M_OPT_MIN, 0, 0, NULL }, { "metadata", mp_property_metadata, CONF_TYPE_STRING_LIST, 0, 0, 0, NULL },