summaryrefslogtreecommitdiffstats
path: root/input/input.c
diff options
context:
space:
mode:
authorben <ben@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-08-22 20:55:49 +0000
committerben <ben@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-08-22 20:55:49 +0000
commit7764a187e0449a9a205f3c6172de8934116682a4 (patch)
tree0badc6dc4b4c2f6d4fe27d715b68de0efb42efb4 /input/input.c
parent31b58afd888ba6bca95541d5363bea7be2e91306 (diff)
downloadmpv-7764a187e0449a9a205f3c6172de8934116682a4.tar.bz2
mpv-7764a187e0449a9a205f3c6172de8934116682a4.tar.xz
added new filter option to menu file browser to only display some files according to extension
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19497 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'input/input.c')
-rw-r--r--input/input.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/input/input.c b/input/input.c
index 5f331310ab..692c470c33 100644
--- a/input/input.c
+++ b/input/input.c
@@ -106,6 +106,7 @@ static mp_cmd_t mp_cmds[] = {
{ MP_CMD_SWITCH_RATIO, "switch_ratio", 0, { {MP_CMD_ARG_FLOAT,{0}}, {-1,{0}} } },
{ MP_CMD_VO_FULLSCREEN, "vo_fullscreen", 0, { {MP_CMD_ARG_INT,{-1}}, {-1,{0}} } },
{ MP_CMD_VO_ONTOP, "vo_ontop", 0, { {MP_CMD_ARG_INT,{-1}}, {-1,{0}} } },
+ { MP_CMD_FILE_FILTER, "file_filter", 1, { { MP_CMD_ARG_INT, {0}}, {-1,{0}}}},
{ MP_CMD_VO_ROOTWIN, "vo_rootwin", 0, { {MP_CMD_ARG_INT,{-1}}, {-1,{0}} } },
{ MP_CMD_VO_BORDER, "vo_border", 0, { {MP_CMD_ARG_INT,{-1}}, {-1,{0}} } },
{ MP_CMD_SCREENSHOT, "screenshot", 0, { {-1,{0}} } },