Mercurial > libavcodec.hg
diff mpeg12.c @ 1725:4bc18915485a libavcodec
frame rate emulation "fix" by (Mean <fixounet at free dot fr>)
author | michael |
---|---|
date | Sun, 04 Jan 2004 17:43:28 +0000 |
parents | 8158e66f1f75 |
children | 1ed3664b3523 |
line wrap: on
line diff
--- a/mpeg12.c Sun Jan 04 17:29:51 2004 +0000 +++ b/mpeg12.c Sun Jan 04 17:43:28 2004 +0000 @@ -309,7 +309,7 @@ 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];