[xiph-commits] r10546 - trunk/vorbis-tools/ogginfo

tterribe at svn.xiph.org tterribe at svn.xiph.org
Mon Dec 5 17:09:25 PST 2005


Author: tterribe
Date: 2005-12-05 17:09:24 -0800 (Mon, 05 Dec 2005)
New Revision: 10546

Modified:
   trunk/vorbis-tools/ogginfo/ogginfo2.c
Log:
The ratio a:b is equal to (a/b):1, not 1:(a/b).


Modified: trunk/vorbis-tools/ogginfo/ogginfo2.c
===================================================================
--- trunk/vorbis-tools/ogginfo/ogginfo2.c	2005-12-06 01:04:50 UTC (rev 10545)
+++ trunk/vorbis-tools/ogginfo/ogginfo2.c	2005-12-06 01:09:24 UTC (rev 10546)
@@ -354,7 +354,7 @@
 		else
 		{
 		    float frameaspect = (float)inf->ti.frame_width/(float)inf->ti.frame_height * (float)inf->ti.aspect_numerator/(float)inf->ti.aspect_denominator; 
-		    info(_("Pixel aspect ratio %d:%d (1:%f)\n"), inf->ti.aspect_numerator, inf->ti.aspect_denominator, (float)inf->ti.aspect_numerator/(float)inf->ti.aspect_denominator);
+		    info(_("Pixel aspect ratio %d:%d (%f:1)\n"), inf->ti.aspect_numerator, inf->ti.aspect_denominator, (float)inf->ti.aspect_numerator/(float)inf->ti.aspect_denominator);
                     if(fabs(frameaspect - 4.0/3.0) < 0.02)
 			info(_("Frame aspect 4:3\n"));
                     else if(fabs(frameaspect - 16.0/9.0) < 0.02)



More information about the commits mailing list