cdg: set the keyframe flag on the first packet