comparison input/input.c @ 18222:8c35bd43135f

Add a new command: osd_show_property_text that show an expanded property string on the OSD. Based on a patch 'by someone named "veal" on irc' that showed the filename.
author albeu
date Sun, 23 Apr 2006 14:31:54 +0000
parents 4bc744cb60e7
children cdf3cb516027
comparison
equal deleted inserted replaced
18221:8ea3b8660dd7 18222:8c35bd43135f
64 { MP_CMD_PLAY_ALT_SRC_STEP, "alt_src_step",1, { { MP_CMD_ARG_INT,{0} }, {-1,{0}} } }, 64 { MP_CMD_PLAY_ALT_SRC_STEP, "alt_src_step",1, { { MP_CMD_ARG_INT,{0} }, {-1,{0}} } },
65 { MP_CMD_SUB_DELAY, "sub_delay",1, { {MP_CMD_ARG_FLOAT,{0}}, {MP_CMD_ARG_INT,{0}}, {-1,{0}} } }, 65 { MP_CMD_SUB_DELAY, "sub_delay",1, { {MP_CMD_ARG_FLOAT,{0}}, {MP_CMD_ARG_INT,{0}}, {-1,{0}} } },
66 { MP_CMD_SUB_STEP, "sub_step",1, { { MP_CMD_ARG_INT,{0} }, {MP_CMD_ARG_INT,{0}}, {-1,{0}} } }, 66 { MP_CMD_SUB_STEP, "sub_step",1, { { MP_CMD_ARG_INT,{0} }, {MP_CMD_ARG_INT,{0}}, {-1,{0}} } },
67 { MP_CMD_OSD, "osd",0, { {MP_CMD_ARG_INT,{-1}}, {-1,{0}} } }, 67 { MP_CMD_OSD, "osd",0, { {MP_CMD_ARG_INT,{-1}}, {-1,{0}} } },
68 { MP_CMD_OSD_SHOW_TEXT, "osd_show_text", 1, { {MP_CMD_ARG_STRING, {0}}, {-1,{0}} } }, 68 { MP_CMD_OSD_SHOW_TEXT, "osd_show_text", 1, { {MP_CMD_ARG_STRING, {0}}, {-1,{0}} } },
69 { MP_CMD_OSD_SHOW_PROPERTY_TEXT, "osd_show_property_text",1, { {MP_CMD_ARG_STRING, {0}}, {MP_CMD_ARG_INT,{-1}}, {MP_CMD_ARG_INT,{0}}, {-1,{0}} } },
69 { MP_CMD_VOLUME, "volume", 1, { { MP_CMD_ARG_FLOAT,{0} }, {MP_CMD_ARG_INT,{0}}, {-1,{0}} } }, 70 { MP_CMD_VOLUME, "volume", 1, { { MP_CMD_ARG_FLOAT,{0} }, {MP_CMD_ARG_INT,{0}}, {-1,{0}} } },
70 { MP_CMD_MIXER_USEMASTER, "use_master", 0, { {-1,{0}} } }, 71 { MP_CMD_MIXER_USEMASTER, "use_master", 0, { {-1,{0}} } },
71 { MP_CMD_MUTE, "mute", 0, { {MP_CMD_ARG_INT,{-1}}, {-1,{0}} } }, 72 { MP_CMD_MUTE, "mute", 0, { {MP_CMD_ARG_INT,{-1}}, {-1,{0}} } },
72 { MP_CMD_CONTRAST, "contrast",1, { {MP_CMD_ARG_INT,{0}}, {MP_CMD_ARG_INT,{0}}, {-1,{0}} } }, 73 { MP_CMD_CONTRAST, "contrast",1, { {MP_CMD_ARG_INT,{0}}, {MP_CMD_ARG_INT,{0}}, {-1,{0}} } },
73 { MP_CMD_GAMMA, "gamma", 1, { {MP_CMD_ARG_INT,{0}}, {MP_CMD_ARG_INT,{0}}, {-1,{0}} } }, 74 { MP_CMD_GAMMA, "gamma", 1, { {MP_CMD_ARG_INT,{0}}, {MP_CMD_ARG_INT,{0}}, {-1,{0}} } },
325 { { '<', 0 }, "pt_step -1" }, 326 { { '<', 0 }, "pt_step -1" },
326 { { KEY_INS, 0 }, "alt_src_step 1" }, 327 { { KEY_INS, 0 }, "alt_src_step 1" },
327 { { KEY_DEL, 0 }, "alt_src_step -1" }, 328 { { KEY_DEL, 0 }, "alt_src_step -1" },
328 { { 'o', 0 }, "osd" }, 329 { { 'o', 0 }, "osd" },
329 { { 'O', 0 }, "osd" }, 330 { { 'O', 0 }, "osd" },
331 { { 'I', 0 }, "osd_show_property_text \"${filename}\"" },
330 { { 'z', 0 }, "sub_delay -0.1" }, 332 { { 'z', 0 }, "sub_delay -0.1" },
331 { { 'x', 0 }, "sub_delay +0.1" }, 333 { { 'x', 0 }, "sub_delay +0.1" },
332 { { 'g', 0 }, "sub_step -1" }, 334 { { 'g', 0 }, "sub_step -1" },
333 { { 'y', 0 }, "sub_step +1" }, 335 { { 'y', 0 }, "sub_step +1" },
334 { { '9', 0 }, "volume -1" }, 336 { { '9', 0 }, "volume -1" },