[Mplayer-cvslog] CVS: main/libvo vosub_vidix.c,1.36,1.37 video_out.h,1.26,1.27
    Nick Kurshev 
    nick at mplayer.dev.hu
       
    Sat Mar  9 18:27:48 CET 2002
    
        - Previous message: [Mplayer-cvslog] CVS: main/DOCS gcc-2.96-3.0.html,1.9,1.10
- Next message: [Mplayer-cvslog] CVS: main/libmpcodecs TODO,1.2,1.3 vd.h,1.4,1.5 vd_divx4.c,1.3,1.4 vd_dshow.c,1.2,1.3 vd_internal.h,1.3,1.4 vd_libmpeg2.c,1.1,1.2 vd_odivx.c,1.3,1.4
-  Messages sorted by: 
              [ date ]
              [ thread ]
              [ subject ]
              [ author ]
         
  
Update of /cvsroot/mplayer/main/libvo
In directory mplayer:/var/tmp.root/cvs-serv31393/main/libvo
Modified Files:
	vosub_vidix.c video_out.h 
Log Message:
voctls for decoding ahead
Index: vosub_vidix.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/vosub_vidix.c,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -r1.36 -r1.37
--- vosub_vidix.c	9 Mar 2002 08:08:43 -0000	1.36
+++ vosub_vidix.c	9 Mar 2002 17:27:37 -0000	1.37
@@ -628,6 +628,15 @@
     return (*server_control)(request,data);
   case VOCTRL_GET_IMAGE:
     return vidix_get_image(data);
+  case VOCTRL_GET_FRAME_NUM:
+	*(uint32_t *)data = next_frame;
+	return VO_TRUE;
+  case VOCTRL_SET_FRAME_NUM:
+	next_frame = *(uint32_t *)data;
+	return VO_TRUE;
+  case VOCTRL_GET_NUM_FRAMES:
+	*(uint32_t *)data = vidix_play.num_frames;
+	return VO_TRUE;
   }
   return VO_NOTIMPL;
 }
Index: video_out.h
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/video_out.h,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -r1.26 -r1.27
--- video_out.h	7 Mar 2002 17:50:25 -0000	1.26
+++ video_out.h	9 Mar 2002 17:27:37 -0000	1.27
@@ -38,6 +38,10 @@
 #define VOCTRL_RESUME 8
 /* libmpcodecs direct rendering: */
 #define VOCTRL_GET_IMAGE 9
+/* decoding ahead: */
+#define VOCTRL_GET_NUM_FRAMES 10
+#define VOCTRL_GET_FRAME_NUM  11
+#define VOCTRL_SET_FRAME_NUM  12
 
 #define VO_TRUE		1
 #define VO_FALSE	0
    
    
        
	- Previous message: [Mplayer-cvslog] CVS: main/DOCS gcc-2.96-3.0.html,1.9,1.10
- Next message: [Mplayer-cvslog] CVS: main/libmpcodecs TODO,1.2,1.3 vd.h,1.4,1.5 vd_divx4.c,1.3,1.4 vd_dshow.c,1.2,1.3 vd_internal.h,1.3,1.4 vd_libmpeg2.c,1.1,1.2 vd_odivx.c,1.3,1.4
-  Messages sorted by: 
              [ date ]
              [ thread ]
              [ subject ]
              [ author ]
         
More information about the MPlayer-cvslog
mailing list