title: How to skip h.264 P frame until next I frame
body: <p>I receive h.264 stream (baseline profile) through RTP/UDP,
  and when sending them to decoder, if (P)frame loss occurred, 
  I wanna skip frames until next I frame received.
  How can I detect the frame loss?
  H.264 spec is too confused to me..</p>