From df61424414fe3fdd7f5dce787aed17d3a4e2ab88 Mon Sep 17 00:00:00 2001 From: reimar Date: Sat, 27 Mar 2010 12:47:26 +0000 Subject: [PATCH] 100l, fix frametime calculation for MPEG-2 files with frame rate extension. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30966 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libmpdemux/video.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libmpdemux/video.c b/libmpdemux/video.c index 792dc7dcc0..4804519ff2 100644 --- a/libmpdemux/video.c +++ b/libmpdemux/video.c @@ -324,7 +324,7 @@ mpeg_header_parser: if(!sh_video->fps){ sh_video->frametime=0; } else { - sh_video->frametime=1.0/picture.fps; + sh_video->frametime=1.0/sh_video->fps; } sh_video->disp_w=picture.display_picture_width; sh_video->disp_h=picture.display_picture_height;