changeset 19402:0b2134ec9adc

display corrected aspect ratio for mplayer -identify
author ivo
date Tue, 15 Aug 2006 19:51:57 +0000
parents c0c3a2f8bb32
children 84a34f62918d
files libmpcodecs/vd.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libmpcodecs/vd.c	Tue Aug 15 19:25:46 2006 +0000
+++ b/libmpcodecs/vd.c	Tue Aug 15 19:51:57 2006 +0000
@@ -280,6 +280,7 @@
     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){