Commit af1f1539 authored by michael's avatar michael

frame rate emulation "fix" by (Mean <fixounet at free dot fr>)


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@2664 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 6548bd46
......@@ -309,7 +309,7 @@ static void mpeg1_encode_sequence_header(MpegEncContext *s)
put_bits(&s->pb, 1, 0); /* broken link */
}
if (s->avctx->frame_rate < (24 * s->avctx->frame_rate_base) && s->picture_number > 0) {
if (s->avctx->frame_rate < (23 * s->avctx->frame_rate_base) && s->picture_number > 0) {
/* insert empty P pictures to slow down to the desired
frame rate. Each fake pictures takes about 20 bytes */
fps = frame_rate_tab[s->frame_rate_index];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment