[Mplayer-cvslog] CVS: main mplayer.c,1.627,1.628

Jindrich Makovicka CVS henry at mplayerhq.hu
Thu Dec 19 11:09:44 CET 2002


Update of /cvsroot/mplayer/main
In directory mail:/var/tmp.root/cvs-serv17091

Modified Files:
	mplayer.c 
Log Message:
add a TV_SET_CNANNEL command

Index: mplayer.c
===================================================================
RCS file: /cvsroot/mplayer/main/mplayer.c,v
retrieving revision 1.627
retrieving revision 1.628
diff -u -r1.627 -r1.628
--- mplayer.c	15 Dec 2002 23:45:19 -0000	1.627
+++ mplayer.c	19 Dec 2002 10:09:27 -0000	1.628
@@ -2288,6 +2288,10 @@
 	  tv_step_channel((tvi_handle_t*)(demuxer->priv), TV_CHANNEL_LOWER);
       }
     } break;
+    case MP_CMD_TV_SET_CHANNEL :  {
+      if (tv_param_on == 1)
+	tv_set_channel((tvi_handle_t*)(demuxer->priv), cmd->args[0].v.s);
+    } break;
     case MP_CMD_TV_STEP_NORM :  {
       if (tv_param_on == 1)
 	tv_step_norm((tvi_handle_t*)(demuxer->priv));




More information about the MPlayer-cvslog mailing list