1
0
mirror of https://github.com/mpv-player/mpv synced 2025-04-01 00:07:33 +00:00

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 ;)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6834 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
atmos4 2002-07-28 21:56:18 +00:00
parent 60d27c02ed
commit 9d613c659c

View File

@ -413,11 +413,10 @@ static mp_image_t* decode(sh_video_t *sh,void* data,int len,int flags){
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;
}
//--