# HG changeset patch # User michael # Date 1073238208 0 # Node ID 4bc18915485ac19caa487aca328e29f9e5abed59 # Parent ea5200a9f7308b9e3172ae218eb8817ce79b877d frame rate emulation "fix" by (Mean ) diff -r ea5200a9f730 -r 4bc18915485a mpeg12.c --- 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];