theoraenc: Make the default quality property 48.
authorEdward Hervey <bilboed@bilboed.com>
Wed, 7 Oct 2009 14:56:28 +0000 (16:56 +0200)
committerEdward Hervey <bilboed@bilboed.com>
Wed, 7 Oct 2009 14:56:28 +0000 (16:56 +0200)
This guarantees that people who use theoraenc without modifying any
properties will end up with a reasonably good quality output.

48 is also the default of the encoder_example application shipped with
libtheora.

ext/theora/theoraenc.c

index 8f19986ca540af594f05b648d35809260261999b..bc7e608cf2f0dd842ba4923428d790b0cef2615e 100644 (file)
@@ -110,7 +110,7 @@ _ilog (unsigned int v)
 #define THEORA_DEF_CENTER               TRUE
 #define THEORA_DEF_BORDER               BORDER_BLACK
 #define THEORA_DEF_BITRATE              0
-#define THEORA_DEF_QUALITY              16
+#define THEORA_DEF_QUALITY              48
 #define THEORA_DEF_QUICK                TRUE
 #define THEORA_DEF_KEYFRAME_AUTO        TRUE
 #define THEORA_DEF_KEYFRAME_FREQ        64