From ed019b8e5bfefe59e307ce01f2860777e037b94b Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Mon, 27 Feb 2012 12:12:19 +0100 Subject: lavc: add -mpv_flags to mpegvideo_enc-based encoders. Deprecate CODEC_FLAG2_SKIP_RD in favor of the corresponding mpv_flags flag. --- libavcodec/mpeg12enc.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libavcodec/mpeg12enc.c') diff --git a/libavcodec/mpeg12enc.c b/libavcodec/mpeg12enc.c index c53d99b1b5..b6cbbbc2d2 100644 --- a/libavcodec/mpeg12enc.c +++ b/libavcodec/mpeg12enc.c @@ -927,6 +927,7 @@ static void mpeg1_encode_block(MpegEncContext *s, static const AVOption mpeg1_options[] = { COMMON_OPTS + FF_MPV_COMMON_OPTS { NULL }, }; @@ -934,6 +935,7 @@ static const AVOption mpeg2_options[] = { COMMON_OPTS { "non_linear_quant", "Use nonlinear quantizer.", OFFSET(q_scale_type), AV_OPT_TYPE_INT, { 0 }, 0, 1, VE }, { "alternate_scan", "Enable alternate scantable.", OFFSET(alternate_scan), AV_OPT_TYPE_INT, { 0 }, 0, 1, VE }, + FF_MPV_COMMON_OPTS { NULL }, }; -- cgit v1.2.3