changeset 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 ea5200a9f730
children 88056e077c7f
files mpeg12.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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];