[Mplayer-cvslog] CVS: main/libmpcodecs vd_ffmpeg.c,1.36,1.37

Atmosfear atmos4 at mplayerhq.hu
Sun Jul 28 23:56:21 CEST 2002


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

Modified Files:
	vd_ffmpeg.c 
Log Message:
Add type= and fix a minor typing difference from ffmpeg
(now encoding (ffmpeg) and playback (mplayer) differ just on one of 1438lines - 0.1error in rounding ;)


Index: vd_ffmpeg.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/vd_ffmpeg.c,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -r1.36 -r1.37
--- vd_ffmpeg.c	28 Jul 2002 15:54:26 -0000	1.36
+++ vd_ffmpeg.c	28 Jul 2002 21:56:18 -0000	1.37
@@ -413,11 +413,10 @@
         all_frametime+=sh->frametime;
         fprintf(fvstats, "frame= %5d q= %2d f_size= %6d s_size= %8.0fkB ",
             ++frame_number, avctx->quality, len, (double)all_len/1024);
-        fprintf(fvstats, "time= %0.3f br= %7.1fkbit/s avg_br= %7.1fkbit/s\n",
+        fprintf(fvstats, "time= %0.3f br= %7.1fkbits/s avg_br= %7.1fkbits/s ",
            all_frametime, (double)(len*8)/sh->frametime/1000.0,
            (double)(all_len*8)/all_frametime/1000.0);
-        // FIXME key_frame isn't set by lavc on decoding! ::atmos
-        //fprintf(fvstats, "type= %c\n", avctx->key_frame == 1 ? 'I' : 'P');
+        fprintf(fvstats, "type= %c\n", sh->ds->flags&1 ? 'I' : 'P');
         break;
     }
 //--




More information about the MPlayer-cvslog mailing list