[Mplayer-cvslog] CVS: main/libmpcodecs vf_vo.c,1.21,1.22
Alban Bedel CVS
albeu at mplayerhq.hu
Mon Mar 10 01:03:50 CET 2003
Update of /cvsroot/mplayer/main/libmpcodecs
In directory mail:/var/tmp.root/cvs-serv7170/libmpcodecs
Modified Files:
vf_vo.c
Log Message:
Pass start slice to the vo it make dr + slice implemantation easier
Index: vf_vo.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/vf_vo.c,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -r1.21 -r1.22
--- vf_vo.c 11 Nov 2002 15:22:10 -0000 1.21
+++ vf_vo.c 10 Mar 2003 00:03:46 -0000 1.22
@@ -110,6 +110,12 @@
return 1;
}
+static void start_slice(struct vf_instance_s* vf,
+ mp_image_t *mpi) {
+ if(!vo_config_count) return; // vo not configured?
+ video_out->control(VOCTRL_START_SLICE,mpi);
+}
+
static void draw_slice(struct vf_instance_s* vf,
unsigned char** src, int* stride, int w,int h, int x, int y){
if(!vo_config_count) return; // vo not configured?
@@ -125,6 +131,7 @@
vf->get_image=get_image;
vf->put_image=put_image;
vf->draw_slice=draw_slice;
+ vf->start_slice=start_slice;
vf->priv=(void*)args; // video_out
if(!video_out) return 0; // no vo ?
// if(video_out->preinit(args)) return 0; // preinit failed
More information about the MPlayer-cvslog
mailing list