[xiph-commits] r15828 - branches/theora-thusnelda/examples

tterribe at svn.xiph.org tterribe at svn.xiph.org
Sun Mar 22 15:44:53 PDT 2009


Author: tterribe
Date: 2009-03-22 15:44:53 -0700 (Sun, 22 Mar 2009)
New Revision: 15828

Modified:
   branches/theora-thusnelda/examples/encoder_example.c
Log:
Restore quality parameter to its 0-10 range.


Modified: branches/theora-thusnelda/examples/encoder_example.c
===================================================================
--- branches/theora-thusnelda/examples/encoder_example.c	2009-03-22 22:22:12 UTC (rev 15827)
+++ branches/theora-thusnelda/examples/encoder_example.c	2009-03-22 22:44:53 UTC (rev 15828)
@@ -1126,7 +1126,7 @@
       break;
 
     case 'v':
-      video_q=(int)rint(atof(optarg));
+      video_q=(int)rint(6.3*atof(optarg));
       if(video_q<0 || video_q>63){
         fprintf(stderr,"Illegal video quality (choose 0 through 10)\n");
         exit(1);



More information about the commits mailing list