Great! If I want to drop a particular frame, and (0 == AV_PKT_FLAG_KEY & packet->flags) then I can just skip the whole packet and no even decode it.Cool.
On Tue, Jul 30, 2013 at 5:15 PM, Alex Cohn <[email protected]> wrote: > On Tue, Jul 30, 2013 at 2:16 PM, Adi Shavit <[email protected]> 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 > _______________________________________________ > Libav-user mailing list > [email protected] > http://ffmpeg.org/mailman/listinfo/libav-user _______________________________________________ Libav-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/libav-user
