diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-10-05 02:51:19 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-10-05 02:51:19 +0200 |
commit | cf5a98b9e356830c4d4752a7c335aa6ad54d3711 (patch) | |
tree | 5f1bf3f1a413a91ae8479c2875272535587687a8 /libavcodec/mpeg12enc.c | |
parent | 66a4ac5182777ef0ade673c89a4766909ac9d00c (diff) | |
download | ffmpeg-cf5a98b9e356830c4d4752a7c335aa6ad54d3711.tar.gz |
mpeg2videodec: fix list of supported frame rates to include sane ext rates.
This only adds a subset of the frame rates that can be stored, a full list
would be more than 500 entries. Such full list could (and should) be added
if it has a usecase but the number of users of even the now added rates
seem rather small.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/mpeg12enc.c')
-rw-r--r-- | libavcodec/mpeg12enc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/mpeg12enc.c b/libavcodec/mpeg12enc.c index 0e61088a2d..73536d5364 100644 --- a/libavcodec/mpeg12enc.c +++ b/libavcodec/mpeg12enc.c @@ -998,7 +998,7 @@ AVCodec ff_mpeg2video_encoder = { .init = encode_init, .encode2 = ff_MPV_encode_picture, .close = ff_MPV_encode_end, - .supported_framerates = avpriv_frame_rate_tab + 1, + .supported_framerates = ff_mpeg2_frame_rate_tab, .pix_fmts = (const enum PixelFormat[]){ PIX_FMT_YUV420P, PIX_FMT_YUV422P, PIX_FMT_NONE }, |