You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-04 22:03:09 +02:00
avcodec/allcodecs: Don't wrap supported_framerates
Only two encoders (the native MPEG-1/2 ones) provide supported_framerates and they don't implement the get_supported_config callback. It is highly unlikely that any codec will set supported_framerates dynamically at all, so remove the code querying for frame rates. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
@ -941,10 +941,6 @@ FF_DISABLE_DEPRECATION_WARNINGS
|
||||
AV_CODEC_CONFIG_PIX_FORMAT, 0,
|
||||
(const void **) &codec->p.pix_fmts,
|
||||
&dummy);
|
||||
codec->get_supported_config(NULL, &codec->p,
|
||||
AV_CODEC_CONFIG_FRAME_RATE, 0,
|
||||
(const void **) &codec->p.supported_framerates,
|
||||
&dummy);
|
||||
break;
|
||||
case AVMEDIA_TYPE_AUDIO:
|
||||
codec->get_supported_config(NULL, &codec->p,
|
||||
|
Reference in New Issue
Block a user