From 63efd83ae10a158e3ae0823e3527f3845dda397a Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Mon, 27 Feb 2012 19:09:49 +0100 Subject: mpegvideo_enc: add chroma/luma_elim_threshold private options. Deprecate corresponding AVCodecContext fields. --- libavcodec/avcodec.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'libavcodec/avcodec.h') diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index 5677c0bce5..01da5a6258 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -1439,19 +1439,21 @@ typedef struct AVCodecContext { int b_frame_strategy; +#if FF_API_MPV_GLOBAL_OPTS /** * luma single coefficient elimination threshold * - encoding: Set by user. * - decoding: unused */ - int luma_elim_threshold; + attribute_deprecated int luma_elim_threshold; /** * chroma single coeff elimination threshold * - encoding: Set by user. * - decoding: unused */ - int chroma_elim_threshold; + attribute_deprecated int chroma_elim_threshold; +#endif /** * qscale offset between IP and B-frames -- cgit v1.2.3