[Mplayer-cvslog] CVS: main/libmpcodecs dec_video.c,1.112,1.113

Arpi of Ize arpi at mplayer.dev.hu
Thu Feb 28 22:59:17 CET 2002


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

Modified Files:
	dec_video.c 
Log Message:
removed codec dependent parts, only core left

Index: dec_video.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/dec_video.c,v
retrieving revision 1.112
retrieving revision 1.113
diff -u -r1.112 -r1.113
--- dec_video.c	28 Feb 2002 01:12:23 -0000	1.112
+++ dec_video.c	28 Feb 2002 21:59:14 -0000	1.113
@@ -1,6 +1,4 @@
 
-#define USE_MP_IMAGE
-
 #include "config.h"
 
 #include <stdio.h>
@@ -24,18 +22,12 @@
 
 #include "codec-cfg.h"
 
-#ifdef USE_LIBVO2
[...1179 lines suppressed...]
-        video_out->draw_frame(mpi->planes);
-#endif
+
+if(mpi){
+//    if(planar)
+//        video_out->draw_slice(mpi->planes,mpi->stride,sh_video->disp_w,sh_video->disp_h,0,0);
+//    else
+//        video_out->draw_frame(mpi->planes);
+
     t2=GetTimer()-t2;
     tt=t2*0.000001f;
     vout_time_usage+=tt;
@@ -1295,7 +199,6 @@
 	cur_vout_time_usage=tt;
     }
     blit_frame=1;
-    break;
 }
 
   return blit_frame;




More information about the MPlayer-cvslog mailing list