diff options
author | Vittorio Giovara <vittorio.giovara@gmail.com> | 2013-01-23 15:26:59 +0400 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2013-01-25 10:50:35 +0400 |
commit | a84fb6e06f7f13e61b5dad0224fa392ebe65e294 (patch) | |
tree | ad954fd6459a0e275edaf06cb30af740cb112751 /libavcodec/avcodec.h | |
parent | 33552a5f7b6ec7057516f487b1a902331f8c353e (diff) |
h264: Allow discarding the cropping information from SPS
Some 3D systems overload the meaning of the field for other purposes.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
Diffstat (limited to 'libavcodec/avcodec.h')
-rw-r--r-- | libavcodec/avcodec.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index e60119e8db..7a2477516d 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -657,6 +657,8 @@ typedef struct RcOverride{ #define CODEC_FLAG2_FAST 0x00000001 ///< Allow non spec compliant speedup tricks. #define CODEC_FLAG2_NO_OUTPUT 0x00000004 ///< Skip bitstream encoding. #define CODEC_FLAG2_LOCAL_HEADER 0x00000008 ///< Place global headers at every keyframe instead of in extradata. +#define CODEC_FLAG2_IGNORE_CROP 0x00010000 ///< Discard cropping information from SPS. + #if FF_API_MPV_GLOBAL_OPTS #define CODEC_FLAG_CBP_RD 0x04000000 ///< Use rate distortion optimization for cbp. #define CODEC_FLAG_QP_RD 0x08000000 ///< Use rate distortion optimization for qp selectioon. |