diff options
author | Anton Khirnov <anton@khirnov.net> | 2014-04-29 07:50:16 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2014-05-01 09:22:47 +0200 |
commit | 5fccedaa67390ccddd6347c8e1c71b7664558bcd (patch) | |
tree | 5347733f50700535a21440cbec8a5ae1cbca28c1 /libavcodec/avcodec.h | |
parent | 141fdc763c2841b572d29a2ad78513e8d5325870 (diff) | |
download | ffmpeg-5fccedaa67390ccddd6347c8e1c71b7664558bcd.tar.gz |
lavc: deprecate CODEC_FLAG_INPUT_PRESERVED
The addition of reference-counted frames makes it pointless.
Diffstat (limited to 'libavcodec/avcodec.h')
-rw-r--r-- | libavcodec/avcodec.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index 2130ea3c2c..919cc76102 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -671,12 +671,13 @@ typedef struct RcOverride{ #define CODEC_FLAG_QPEL 0x0010 ///< Use qpel MC. #define CODEC_FLAG_GMC 0x0020 ///< Use GMC. #define CODEC_FLAG_MV0 0x0040 ///< Always try a MB with MV=<0,0>. +#if FF_API_INPUT_PRESERVED /** - * The parent program guarantees that the input for B-frames containing - * streams is not written to for at least s->max_b_frames+1 frames, if - * this is not set the input will be copied. + * @deprecated passing reference-counted frames to the encoders replaces this + * flag */ #define CODEC_FLAG_INPUT_PRESERVED 0x0100 +#endif #define CODEC_FLAG_PASS1 0x0200 ///< Use internal 2pass ratecontrol in first pass mode. #define CODEC_FLAG_PASS2 0x0400 ///< Use internal 2pass ratecontrol in second pass mode. #define CODEC_FLAG_GRAY 0x2000 ///< Only decode/encode grayscale. |