aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/ituh263enc.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-02-17 09:02:27 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-05-24 21:37:17 +0200
commitd587b1c32388fe60d7469424172e15b57bc5b4bd (patch)
tree6b9648417087d5ab82b8935ea1fc32864adae8f1 /libavcodec/ituh263enc.c
parentde640d2b5327645b250ef913b7e12d56a91828ed (diff)
downloadffmpeg-d587b1c32388fe60d7469424172e15b57bc5b4bd.tar.gz
avcodec/mpegvideoenc: Remove ineffective options
This commit removes the ineffective FF_MPV_DEPRECATED_ options, namely mpeg_quant (this is only an option for MPEG-4), a53cc (this is only an option for MPEG-2), force_duplicated_matrix (applies only to MJPEG) and b_strategy, b_sensitivity and brd_scale (these options only make sense for encoders supporting B-frames, which currently means the MPEG-1/2 and MPEG-4 encoders). Given that these options never changed the outcome of encoding, they are removed at once. Notice that the options for the encoders for which it made sense are not affected by this. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/ituh263enc.c')
-rw-r--r--libavcodec/ituh263enc.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/libavcodec/ituh263enc.c b/libavcodec/ituh263enc.c
index ca44819639..2fcd001dba 100644
--- a/libavcodec/ituh263enc.c
+++ b/libavcodec/ituh263enc.c
@@ -886,12 +886,6 @@ static const AVOption h263_options[] = {
{ "mb_info", "emit macroblock info for RFC 2190 packetization, the parameter value is the maximum payload size", OFFSET(mb_info), AV_OPT_TYPE_INT, { .i64 = 0 }, 0, INT_MAX, VE },
FF_MPV_COMMON_OPTS
FF_MPV_COMMON_MOTION_EST_OPTS
-#if FF_API_MPEGVIDEO_OPTS
- FF_MPV_DEPRECATED_MPEG_QUANT_OPT
- FF_MPV_DEPRECATED_A53_CC_OPT
- FF_MPV_DEPRECATED_MATRIX_OPT
- FF_MPV_DEPRECATED_BFRAME_OPTS
-#endif
{ NULL },
};
@@ -923,12 +917,6 @@ static const AVOption h263p_options[] = {
{ "structured_slices", "Write slice start position at every GOB header instead of just GOB number.", OFFSET(h263_slice_structured), AV_OPT_TYPE_BOOL, { .i64 = 0 }, 0, 1, VE},
FF_MPV_COMMON_OPTS
FF_MPV_COMMON_MOTION_EST_OPTS
-#if FF_API_MPEGVIDEO_OPTS
- FF_MPV_DEPRECATED_MPEG_QUANT_OPT
- FF_MPV_DEPRECATED_A53_CC_OPT
- FF_MPV_DEPRECATED_MATRIX_OPT
- FF_MPV_DEPRECATED_BFRAME_OPTS
-#endif
{ NULL },
};
static const AVClass h263p_class = {