[xiph-commits] r16448 - trunk/theora/examples
xiphmont at svn.xiph.org
xiphmont at svn.xiph.org
Thu Aug 6 16:54:35 PDT 2009
Author: xiphmont
Date: 2009-08-06 16:54:35 -0700 (Thu, 06 Aug 2009)
New Revision: 16448
Modified:
trunk/theora/examples/encoder_example.c
Log:
Correct a minor bufsize setup inconsistency in encoder_example.c
Modified: trunk/theora/examples/encoder_example.c
===================================================================
--- trunk/theora/examples/encoder_example.c 2009-08-06 22:05:48 UTC (rev 16447)
+++ trunk/theora/examples/encoder_example.c 2009-08-06 23:54:35 UTC (rev 16448)
@@ -1544,7 +1544,7 @@
if((keyframe_frequency*7>>1) > 5*video_fps_n/video_fps_d)
arg=keyframe_frequency*7>>1;
else
- arg=30*video_fps_n/video_fps_d;
+ arg=5*video_fps_n/video_fps_d;
ret=th_encode_ctl(td,TH_ENCCTL_SET_RATE_BUFFER,&arg,sizeof(arg));
if(ret<0)
fprintf(stderr,"Could not set rate control buffer for --soft-target\n");
More information about the commits
mailing list