changeset 7756:77076fb29637

10l. use mpcodecs_draw_slice, instead of libvo directly
author arpi
date Wed, 16 Oct 2002 19:26:30 +0000
parents 7637b72ef1f9
children 03c707b25fdc
files libmpcodecs/vd_libmpeg2.c
diffstat 1 files changed, 2 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/libmpcodecs/vd_libmpeg2.c	Wed Oct 16 18:40:03 2002 +0000
+++ b/libmpcodecs/vd_libmpeg2.c	Wed Oct 16 19:26:30 2002 +0000
@@ -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;
 
 	}