[MPlayer-cvslog] r23435 - in trunk: DOCS/tech/slave.txt command.c
albeu
subversion at mplayerhq.hu
Thu May 31 15:02:51 CEST 2007
Author: albeu
Date: Thu May 31 15:02:51 2007
New Revision: 23435
Log:
Make the length property use the time type.
Modified:
trunk/DOCS/tech/slave.txt
trunk/command.c
Modified: trunk/DOCS/tech/slave.txt
==============================================================================
--- trunk/DOCS/tech/slave.txt (original)
+++ trunk/DOCS/tech/slave.txt Thu May 31 15:02:51 2007
@@ -400,7 +400,7 @@ stream_pos pos 0
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
Modified: trunk/command.c
==============================================================================
--- trunk/command.c (original)
+++ trunk/command.c Thu May 31 15:02:51 2007
@@ -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 },
More information about the MPlayer-cvslog
mailing list