Mercurial > mplayer.hg
diff input/input.c @ 17925:caa86b1793fe
Move audio_delay to a property and add a few read only properties to
query samplerate, format, etc.
author | albeu |
---|---|
date | Wed, 22 Mar 2006 23:05:13 +0000 |
parents | 52f95509cd05 |
children | e0f20946e398 |
line wrap: on
line diff
--- a/input/input.c Wed Mar 22 20:17:48 2006 +0000 +++ b/input/input.c Wed Mar 22 23:05:13 2006 +0000 @@ -51,7 +51,7 @@ #ifdef USE_EDL { MP_CMD_EDL_MARK, "edl_mark", 0, { {-1,{0}} } }, #endif - { MP_CMD_AUDIO_DELAY, "audio_delay", 1, { {MP_CMD_ARG_FLOAT,{0}}, {-1,{0}} } }, + { MP_CMD_AUDIO_DELAY, "audio_delay", 1, { {MP_CMD_ARG_FLOAT,{0}}, {MP_CMD_ARG_INT,{0}}, {-1,{0}} } }, { MP_CMD_SPEED_INCR, "speed_incr", 1, { {MP_CMD_ARG_FLOAT,{0}}, {-1,{0}} } }, { MP_CMD_SPEED_MULT, "speed_mult", 1, { {MP_CMD_ARG_FLOAT,{0}}, {-1,{0}} } }, { MP_CMD_SPEED_SET, "speed_set", 1, { {MP_CMD_ARG_FLOAT,{0}}, {-1,{0}} } },