I know the difference between I and IDR frame in H.264. But, in x264enc's source code I saw two different constants for I and IDR frame X264_TYPE_I , X264_TYPE_IDR respectively. Could someone explain me is there any IDR frame by default in x264enc or all I-frames are actually IDR frames in case of x264enc?