mirror of
https://github.com/mpv-player/mpv
synced 2024-12-15 11:25:10 +00:00
Make the length property use the time type.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23435 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
be63729ba5
commit
b63e23147d
@ -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 },
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user