[Mplayer-cvslog] CVS: main/libmpcodecs vd_libmpeg2.c,1.14,1.15

Arpi of Ize arpi at mplayerhq.hu
Wed Oct 16 21:26:49 CEST 2002


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

Modified Files:
	vd_libmpeg2.c 
Log Message:
10l. use mpcodecs_draw_slice, instead of libvo directly


Index: vd_libmpeg2.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/vd_libmpeg2.c,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- vd_libmpeg2.c	21 Sep 2002 22:38:41 -0000	1.14
+++ vd_libmpeg2.c	16 Oct 2002 19:26:30 -0000	1.15
@@ -91,14 +91,13 @@
 }
 
 static void draw_slice (vo_frame_t * frame, uint8_t ** src){
-    vo_functions_t * output = frame->vo;
     int stride[3];
     int y=picture->slice<<4;
 
     stride[0]=picture->coded_picture_width;
     stride[1]=stride[2]=stride[0]/2;
 
-    output->draw_slice (src,
+    mpcodecs_draw_slice(frame->vo, src,
 		stride, picture->display_picture_width,
 		(y+16<=picture->display_picture_height) ? 16 :
 		    picture->display_picture_height-y,
@@ -205,7 +204,7 @@
 		    mpi, (mpi->flags&MP_IMGFLAG_DIRECT)?"DR!":"");
 	    }
 
-	    picture->current_frame->vo=sh->video_out;
+	    picture->current_frame->vo=sh;
 	    picture->slice=0;
 
 	}




More information about the MPlayer-cvslog mailing list