From a95b367f95165c95a4efe0a902c3965c1c0cfe19 Mon Sep 17 00:00:00 2001 From: Thibaut Mattern Date: Mon, 28 Oct 2002 07:55:59 +0000 Subject: Tell the engine to compute frame duration instead of using a default value when frame_rate_code is invalid. CVS patchset: 3062 CVS date: 2002/10/28 07:55:59 --- src/libmpeg2/decode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libmpeg2/decode.c b/src/libmpeg2/decode.c index 380ff624f..a67d1c544 100644 --- a/src/libmpeg2/decode.c +++ b/src/libmpeg2/decode.c @@ -117,7 +117,7 @@ static inline void get_frame_duration (mpeg2dec_t * mpeg2dec, vo_frame_t *frame) default: /* printf ("invalid/unknown frame rate code : %d \n", frame->frame_rate_code); */ - frame->duration = 3000; + frame->duration = 0; } /* this should be used to detect any special rff pattern */ -- cgit v1.2.3