Mercurial > mplayer.hg
comparison 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 |
comparison
equal
deleted
inserted
replaced
17924:0eac85e451cb | 17925:caa86b1793fe |
---|---|
49 static mp_cmd_t mp_cmds[] = { | 49 static mp_cmd_t mp_cmds[] = { |
50 { MP_CMD_SEEK, "seek", 1, { {MP_CMD_ARG_FLOAT,{0}}, {MP_CMD_ARG_INT,{0}}, {-1,{0}} } }, | 50 { MP_CMD_SEEK, "seek", 1, { {MP_CMD_ARG_FLOAT,{0}}, {MP_CMD_ARG_INT,{0}}, {-1,{0}} } }, |
51 #ifdef USE_EDL | 51 #ifdef USE_EDL |
52 { MP_CMD_EDL_MARK, "edl_mark", 0, { {-1,{0}} } }, | 52 { MP_CMD_EDL_MARK, "edl_mark", 0, { {-1,{0}} } }, |
53 #endif | 53 #endif |
54 { MP_CMD_AUDIO_DELAY, "audio_delay", 1, { {MP_CMD_ARG_FLOAT,{0}}, {-1,{0}} } }, | 54 { MP_CMD_AUDIO_DELAY, "audio_delay", 1, { {MP_CMD_ARG_FLOAT,{0}}, {MP_CMD_ARG_INT,{0}}, {-1,{0}} } }, |
55 { MP_CMD_SPEED_INCR, "speed_incr", 1, { {MP_CMD_ARG_FLOAT,{0}}, {-1,{0}} } }, | 55 { MP_CMD_SPEED_INCR, "speed_incr", 1, { {MP_CMD_ARG_FLOAT,{0}}, {-1,{0}} } }, |
56 { MP_CMD_SPEED_MULT, "speed_mult", 1, { {MP_CMD_ARG_FLOAT,{0}}, {-1,{0}} } }, | 56 { MP_CMD_SPEED_MULT, "speed_mult", 1, { {MP_CMD_ARG_FLOAT,{0}}, {-1,{0}} } }, |
57 { MP_CMD_SPEED_SET, "speed_set", 1, { {MP_CMD_ARG_FLOAT,{0}}, {-1,{0}} } }, | 57 { MP_CMD_SPEED_SET, "speed_set", 1, { {MP_CMD_ARG_FLOAT,{0}}, {-1,{0}} } }, |
58 { MP_CMD_QUIT, "quit", 0, { {MP_CMD_ARG_INT,{0}}, {-1,{0}} } }, | 58 { MP_CMD_QUIT, "quit", 0, { {MP_CMD_ARG_INT,{0}}, {-1,{0}} } }, |
59 { MP_CMD_PAUSE, "pause", 0, { {-1,{0}} } }, | 59 { MP_CMD_PAUSE, "pause", 0, { {-1,{0}} } }, |