[Mplayer-cvslog] CVS: main/input input.h,1.19,1.20 input.c,1.47,1.48
Kim Minh Kaplan CVS
kmkaplan at mplayerhq.hu
Thu Oct 17 17:41:39 CEST 2002
Update of /cvsroot/mplayer/main/input
In directory mail:/var/tmp.root/cvs-serv11372
Modified Files:
input.h input.c
Log Message:
Mplayer can switch between subtitles of different languages during
playing by press 'j', by <hephooey at fastmail.fm>.
Index: input.h
===================================================================
RCS file: /cvsroot/mplayer/main/input/input.h,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -r1.19 -r1.20
--- input.h 6 Oct 2002 17:40:50 -0000 1.19
+++ input.h 17 Oct 2002 15:41:20 -0000 1.20
@@ -30,6 +30,7 @@
#define MP_CMD_VF_CHANGE_RECTANGLE 28
#define MP_CMD_GAMMA 29
#define MP_CMD_SUB_VISIBILITY 30
+#define MP_CMD_VOBSUB_LANG 31
#define MP_CMD_GUI_EVENTS 5000
#define MP_CMD_GUI_LOADFILE 5001
Index: input.c
===================================================================
RCS file: /cvsroot/mplayer/main/input/input.c,v
retrieving revision 1.47
retrieving revision 1.48
diff -u -r1.47 -r1.48
--- input.c 6 Oct 2002 17:40:50 -0000 1.47
+++ input.c 17 Oct 2002 15:41:20 -0000 1.48
@@ -60,6 +60,7 @@
{ MP_CMD_FRAMEDROPPING, "frame_drop",0, { { MP_CMD_ARG_INT,{-1} }, {-1,{0}} } },
{ MP_CMD_SUB_POS, "sub_pos", 1, { {MP_CMD_ARG_INT,{0}}, {MP_CMD_ARG_INT,{0}}, {-1,{0}} } },
{ MP_CMD_SUB_VISIBILITY, "sub_visibility", 0, { {-1,{0}} } },
+ { MP_CMD_VOBSUB_LANG, "vobsub_lang", 0, { {-1,{0}} } },
#ifdef USE_TV
{ MP_CMD_TV_STEP_CHANNEL, "tv_step_channel", 1, { { MP_CMD_ARG_INT ,{0}}, {-1,{0}} }},
{ MP_CMD_TV_STEP_NORM, "tv_step_norm",0, { {-1,{0}} } },
@@ -223,6 +224,7 @@
{ { 'r', 0 }, "sub_pos -1" },
{ { 't', 0 }, "sub_pos +1" },
{ { 'v', 0 }, "sub_visibility" },
+ { { 'j', 0 }, "vobsub_lang" },
#ifdef USE_TV
{ { 'h', 0 }, "tv_step_channel 1" },
{ { 'k', 0 }, "tv_step_channel -1" },
More information about the MPlayer-cvslog
mailing list