On Tue, Jul 30, 2013 at 2:16 PM, Adi Shavit <adishavit at gmail.com> wrote: > How do I detect an IDR (or non-IDR frame)? > Can I freely discard non-IDR frames without decoding them? Look for AV_PKT_FLAG_KEY in packet->flags Alex