]> git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
also fix ti.keyframe_auto_p
authordivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 19 Feb 2009 08:16:22 +0000 (08:16 +0000)
committerdivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 19 Feb 2009 08:16:22 +0000 (08:16 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8743 d7cf8633-e32d-0410-b094-e92efae38249

cap_ogg.c

index e94fd4f03a0836986d36b72157a970d4854b758a..71d05cd071b0eaea58bf3fea9e0d93ef5594bcb4 100644 (file)
--- a/cap_ogg.c
+++ b/cap_ogg.c
@@ -1028,7 +1028,7 @@ void SCR_CaptureVideo_Ogg_BeginVideo()
                ti.keyframe_auto_threshold = bound(0, cl_capturevideo_ogg_theora_keyframe_auto_threshold.integer, 100);
 
                ti.keyframe_frequency_force = ti.keyframe_frequency;
-               ti.keyframe_auto_p = (ti.keyframe_frequency != ti.keyframe_mindistance);
+               ti.keyframe_auto_p = (ti.keyframe_frequency != ti.keyframe_mindistance + 1);
 
                qtheora_encode_init(&format->ts, &ti);
                qtheora_info_clear(&ti);