set got_key_frame when packet is video, fix first video packet with index 0 and 2...