comparison libmpdemux/demuxer.c @ 13301:638673d1f83a

show video format for all demuxers, not just avi (move this somewhere else if you prefer)
author rfelker
date Fri, 10 Sep 2004 02:07:16 +0000
parents 8639d064d3a1
children c605df89ca9f
comparison
equal deleted inserted replaced
13300:47dd02fb02df 13301:638673d1f83a
1364 break; 1364 break;
1365 } 1365 }
1366 #endif 1366 #endif
1367 } // switch(file_format) 1367 } // switch(file_format)
1368 pts_from_bps=0; // !!! 1368 pts_from_bps=0; // !!!
1369 if ((sh_video=demuxer->video->sh) && sh_video->bih)
1370 mp_msg(MSGT_DEMUX,MSGL_INFO,"VIDEO: [%.4s] %ldx%ld %dbpp %5.3f fps %5.1f kbps (%4.1f kbyte/s)\n",
1371 (char *)&sh_video->bih->biCompression,
1372 sh_video->bih->biWidth,
1373 sh_video->bih->biHeight,
1374 sh_video->bih->biBitCount,
1375 sh_video->fps,
1376 sh_video->i_bps*0.008f,
1377 sh_video->i_bps/1024.0f );
1369 return demuxer; 1378 return demuxer;
1370 } 1379 }
1371 1380
1372 char* audio_stream = NULL; 1381 char* audio_stream = NULL;
1373 char* sub_stream = NULL; 1382 char* sub_stream = NULL;