[xiph-commits] r16280 - experimental/giles/rogg

giles at svn.xiph.org giles at svn.xiph.org
Tue Jul 14 15:07:49 PDT 2009


Author: giles
Date: 2009-07-14 15:07:49 -0700 (Tue, 14 Jul 2009)
New Revision: 16280

Modified:
   experimental/giles/rogg/rogg_theora.c
Log:
Print the framerate as a colon-separated ratio like the framerate.

It looks better as a representation, but it's less confusing use the
same syntax the -f argument expects, and for that to be the same as
what the -a argument expects for aspect ratios.

Also, my eyes think colour space should be two words without the US 
spelling.


Modified: experimental/giles/rogg/rogg_theora.c
===================================================================
--- experimental/giles/rogg/rogg_theora.c	2009-07-14 22:05:16 UTC (rev 16279)
+++ experimental/giles/rogg/rogg_theora.c	2009-07-14 22:07:49 UTC (rev 16280)
@@ -103,9 +103,9 @@
 	get16(data+10)<<4, get16(data+12)<<4);
   fprintf(out, "   display image %dx%d at (%d,%d)\n",
 	get24(data+14), get24(data+17), data[20], data[21]);
-  fprintf(out, "   frame rate %d/%d\n", get32(data+22), get32(data+26));
+  fprintf(out, "   frame rate %d:%d\n", get32(data+22), get32(data+26));
   fprintf(out, "   pixel aspect %d:%d\n", get24(data+30), get24(data+33));
-  fprintf(out, "   colourspace %d\n", data[36]);
+  fprintf(out, "   colour space %d\n", data[36]);
   fprintf(out, "   target bitrate %d\n", get24(data+37));
   fprintf(out, "   quality %d\n", data[40] >> 2);
 }



More information about the commits mailing list