display corrected aspect ratio for mplayer -identify

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19408 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
ivo 2006-08-15 19:51:57 +00:00
parent e3bf2d7343
commit f503cce428
1 changed files with 1 additions and 0 deletions

View File

@ -280,6 +280,7 @@ csp_again:
if(sh->aspect>0.01){
int w;
mp_msg(MSGT_CPLAYER,MSGL_INFO,MSGTR_MovieAspectIsSet,sh->aspect);
mp_msg(MSGT_IDENTIFY, MSGL_INFO, "ID_VIDEO_ASPECT=%1.4f\n", sh->aspect);
w=(int)((float)screen_size_y*sh->aspect); w+=w%2; // round
// we don't like horizontal downscale || user forced width:
if(w<screen_size_x || screen_size_xy>8){