[xiph-commits] r16485 - trunk/theora/examples
xiphmont at svn.xiph.org
xiphmont at svn.xiph.org
Tue Aug 18 15:44:06 PDT 2009
Author: xiphmont
Date: 2009-08-18 15:44:06 -0700 (Tue, 18 Aug 2009)
New Revision: 16485
Modified:
trunk/theora/examples/encoder_example.c
Log:
encoder_example.c: Allow -v and -V to coexist without --soft-target.
Yes, this one might be a tad controversial.
Modified: trunk/theora/examples/encoder_example.c
===================================================================
--- trunk/theora/examples/encoder_example.c 2009-08-18 22:39:28 UTC (rev 16484)
+++ trunk/theora/examples/encoder_example.c 2009-08-18 22:44:06 UTC (rev 16485)
@@ -1436,10 +1436,12 @@
if(video_q==-1)
video_q=0;
}else{
- if(video_r>0)
- video_q=0;
- if(video_q==-1)
- video_q=48;
+ if(video_q==-1){
+ if(video_r>0)
+ video_q=0;
+ else
+ video_q=48;
+ }
}
if(keyframe_frequency<=0){
More information about the commits
mailing list