From: Loren Merritt Date: Sun, 15 Oct 2006 23:39:03 +0000 (+0000) Subject: skip deblocking and motion interpolation when using only I-frames X-Git-Url: http://www.zmx.ovh/git.videolan.org/?a=commitdiff_plain;h=41b85c4fa872df880352024aa2d707b1813a4258;p=x264.git skip deblocking and motion interpolation when using only I-frames git-svn-id: svn://svn.videolan.org/x264/trunk@593 df754926-b1dd-0310-bc7b-ec298dee348c --- diff --git a/encoder/encoder.c b/encoder/encoder.c index 396f5bb3..9fae325b 100644 --- a/encoder/encoder.c +++ b/encoder/encoder.c @@ -1600,7 +1600,7 @@ do_encode: x264_ratecontrol_end( h, i_frame_size * 8 ); /* handle references */ - if( i_nal_ref_idc != NAL_PRIORITY_DISPOSABLE ) + if( i_nal_ref_idc != NAL_PRIORITY_DISPOSABLE && h->param.i_keyint_max > 1 ) x264_reference_update( h ); #ifdef DEBUG_DUMP_FRAME else