# HG changeset patch # User michael # Date 1264081787 0 # Node ID 0c50a3c33c03023ee28d73500f639466c509816d # Parent 16db91dd49ebf2f90434f5879fa91c6a927b03c6 Clarify CODEC_CAP_SUBFRAMES. diff -r 16db91dd49eb -r 0c50a3c33c03 avcodec.h --- a/avcodec.h Thu Jan 21 12:57:24 2010 +0000 +++ b/avcodec.h Thu Jan 21 13:49:47 2010 +0000 @@ -619,6 +619,14 @@ #define CODEC_CAP_HWACCEL_VDPAU 0x0080 /** * Codec can output multiple frames per AVPacket + * Normally demuxers return one frame at a time, demuxers which do not do + * are connected to a parser to split what they return into proper frames. + * This flag is reserved to the very rare category of codecs which have a + * bitstream that cannot be split into frames without timeconsuming + * operations like full decoding. Demuxers carring such bitstreams thus + * may return multiple frames in a packet. This has many disadvantages like + * prohibiting stream copy in many cases thus it should only be considered + * as a last resort. */ #define CODEC_CAP_SUBFRAMES 0x0100