Commit 41b85c4f authored by Loren Merritt's avatar Loren Merritt
Browse files

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
parent 197a94a8
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment