summaryrefslogtreecommitdiff
path: root/libavcodec/avcodec.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2010-01-21 13:49:47 +0000
committerMichael Niedermayer <michaelni@gmx.at>2010-01-21 13:49:47 +0000
commite9e949cf74391a00751ddec83197bb019b203bd2 (patch)
treea913302746ca27e1751bdb222503c7cdedaa1570 /libavcodec/avcodec.h
parent8a24e98d506f0f44ec58e06291fa0fce703fb6a8 (diff)
Clarify CODEC_CAP_SUBFRAMES.
Originally committed as revision 21364 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/avcodec.h')
-rw-r--r--libavcodec/avcodec.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index ace4863284..aa59097e35 100644
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -619,6 +619,14 @@ typedef struct RcOverride{
#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