From 64d6b94a1caff564af3680dbb4318e33755fd208 Mon Sep 17 00:00:00 2001 From: Michael Roitzsch Date: Fri, 23 May 2003 10:52:40 +0000 Subject: fix the miscalculates and then copy'n'pasted durations we discovered some time ago CVS patchset: 4904 CVS date: 2003/05/23 10:52:40 --- src/dxr3/dxr3_decode_video.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/dxr3/dxr3_decode_video.c') diff --git a/src/dxr3/dxr3_decode_video.c b/src/dxr3/dxr3_decode_video.c index 8e72a165d..15084853a 100644 --- a/src/dxr3/dxr3_decode_video.c +++ b/src/dxr3/dxr3_decode_video.c @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: dxr3_decode_video.c,v 1.33 2003/05/23 10:36:29 mroi Exp $ + * $Id: dxr3_decode_video.c,v 1.34 2003/05/23 10:52:40 mroi Exp $ */ /* dxr3 video decoder plugin. @@ -691,7 +691,7 @@ static int get_duration(dxr3_decoder_t *this) switch (this->frame_rate_code) { case 1: /* 23.976 */ - duration = 3913; + duration = 3754; /* actually it's 3753.75 */ break; case 2: /* 24.000 */ duration = 3750; @@ -709,10 +709,10 @@ static int get_duration(dxr3_decoder_t *this) duration = 1800; break; case 7: /* 59.940 */ - duration = 1525; + duration = 1502; /* actually it's 1501.5 */ break; case 8: /* 60.000 */ - duration = 1509; + duration = 1500; break; default: printf("dxr3_decode_video: WARNING: unknown frame rate code %d\n", -- cgit v1.2.3