diff options
author | albeu <albeu@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-05-31 13:02:51 +0000 |
---|---|---|
committer | albeu <albeu@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-05-31 13:02:51 +0000 |
commit | b63e23147dd7aa81aab54987e05e0cca519bd416 (patch) | |
tree | c120877b70b2ad7c29c8d74817b7023f658ce22f | |
parent | be63729ba5547fea0a557a44cb0d8b50be32d1fb (diff) | |
download | mpv-b63e23147dd7aa81aab54987e05e0cca519bd416.tar.bz2 mpv-b63e23147dd7aa81aab54987e05e0cca519bd416.tar.xz |
Make the length property use the time type.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23435 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r-- | DOCS/tech/slave.txt | 2 | ||||
-rw-r--r-- | command.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/DOCS/tech/slave.txt b/DOCS/tech/slave.txt index be5cc06bbd..df0aa9a32f 100644 --- a/DOCS/tech/slave.txt +++ b/DOCS/tech/slave.txt @@ -400,7 +400,7 @@ stream_pos pos 0 X X position in stream stream_start pos 0 X start pos in stream stream_end pos 0 X end pos in stream stream_length pos 0 X (end - start) -length double X length of file in seconds +length time X length of file in seconds metadata str list X list of metadata key/value metadata/* string X metadata values volume float 0 100 X X X change volume @@ -1383,8 +1383,8 @@ static m_option_t mp_properties[] = { 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 }, |