--- branches/dev-api-4/xvidcore/vfw/src/codec.c 2003/11/11 16:25:39 1203 +++ branches/dev-api-4/xvidcore/vfw/src/codec.c 2003/12/01 13:16:43 1234 @@ -637,14 +637,7 @@ // force keyframe spacing in 2-pass 1st pass if (codec->config.motion_search == 0) - { frame.type = XVID_TYPE_IVOP; - } - else if (codec->keyspacing < codec->config.min_key_interval && codec->framenum) - { - DPRINTF("current frame forced to p-frame"); - frame.type = XVID_TYPE_PVOP; - } /* frame-based stuff */ apply_zone_modifiers(&frame, &codec->config, codec->framenum);