diff options
author | Anton Khirnov <anton@khirnov.net> | 2012-02-27 12:12:19 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2012-02-29 07:09:29 +0100 |
commit | ed019b8e5bfefe59e307ce01f2860777e037b94b (patch) | |
tree | 1496ddd98dcb258a887f2456fa9b389d754b773f /libavcodec/mpeg12enc.c | |
parent | 956fb91e0333634aa25dcb5632c6e4e3769d05ee (diff) | |
download | ffmpeg-ed019b8e5bfefe59e307ce01f2860777e037b94b.tar.gz |
lavc: add -mpv_flags to mpegvideo_enc-based encoders.
Deprecate CODEC_FLAG2_SKIP_RD in favor of the corresponding mpv_flags
flag.
Diffstat (limited to 'libavcodec/mpeg12enc.c')
-rw-r--r-- | libavcodec/mpeg12enc.c | 2 |
1 files changed, 2 insertions, 0 deletions
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 }, }; |