]> git.sesse.net Git - ffmpeg/commit
avcodec/mpegvideo: Deprecate bframe opts for encoders not supporting them
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>
Tue, 6 Apr 2021 17:32:07 +0000 (19:32 +0200)
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>
Sat, 10 Apr 2021 02:21:21 +0000 (04:21 +0200)
commit7d9afb46f2f413abe9d2ee0f9353368a7d4888f7
treefb539c4aab5840f3233ed60bb00c03ddd8d14ab9
parent6c2cc205f624553c181a65c90c5427bf6e37b6b7
avcodec/mpegvideo: Deprecate bframe opts for encoders not supporting them

MPEG-1/2/4 are the only mpegvideo based encoders that support bframes;
yet even the encoders not supporting bframes have options that only make
sense for an encoder that supports bframes; setting any of these options
for such an encoder has no impact on the encoded outcome (but setting
b_strategy to two slows down encoding considerably). So deprecate these
options.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
libavcodec/mjpegenc.c
libavcodec/mpeg12enc.c
libavcodec/mpeg4videoenc.c
libavcodec/mpegvideo.h
libavcodec/mpegvideo_enc.c