[Mplayer-cvslog] CVS: main dec_video.c,1.61,1.62

Alex Beregszaszi alex at mplayer.dev.hu
Sat Nov 10 15:52:07 CET 2001


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

Modified Files:
	dec_video.c 
Log Message:
vfw_raw fix

Index: dec_video.c
===================================================================
RCS file: /cvsroot/mplayer/main/dec_video.c,v
retrieving revision 1.61
retrieving revision 1.62
diff -u -r1.61 -r1.62
--- dec_video.c	9 Nov 2001 02:17:00 -0000	1.61
+++ dec_video.c	10 Nov 2001 14:52:05 -0000	1.62
@@ -473,6 +473,9 @@
 unsigned int t=GetTimer();
 unsigned int t2;
 
+//printf("decode_frame(start: %p, size: %d, w: %d, h: %d)\n",
+//    start, in_size, sh_video->disp_w, sh_video->disp_h);
+
   //--------------------  Decode a frame: -----------------------
 switch(sh_video->codec->driver){
 #ifdef USE_XANIM
@@ -665,8 +668,10 @@
     }
     break;
   case VFM_RAW:
-    planes[0]=start;
-    blit_frame=2;
+//    planes[0]=start;
+//    blit_frame=2;
+    sh_video->our_out_buffer = start;
+    blit_frame=3;
     break;
   case VFM_RLE:
 //void AVI_Decode_RLE8(char *image,char *delta,int tdsize,




More information about the MPlayer-cvslog mailing list