10l (fixes delayed frames during encoding)

Originally committed as revision 3278 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Michael Niedermayer 2004-06-30 23:12:21 +00:00
parent 68b3ba0dfa
commit 77e6c403e7
2 changed files with 3 additions and 0 deletions

View File

@ -2973,6 +2973,7 @@ AVCodec mpeg1video_encoder = {
MPV_encode_picture,
MPV_encode_end,
.supported_framerates= frame_rate_tab+1,
.capabilities= CODEC_CAP_DELAY,
};
#ifdef CONFIG_RISKY
@ -2986,6 +2987,7 @@ AVCodec mpeg2video_encoder = {
MPV_encode_picture,
MPV_encode_end,
.supported_framerates= frame_rate_tab+1,
.capabilities= CODEC_CAP_DELAY,
};
#endif
#endif

View File

@ -6048,6 +6048,7 @@ AVCodec mpeg4_encoder = {
MPV_encode_picture,
MPV_encode_end,
.options = mpeg4_options,
.capabilities= CODEC_CAP_DELAY,
};
AVCodec msmpeg4v1_encoder = {