summaryrefslogtreecommitdiffstats
path: root/libmpdemux
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-03-27 12:47:26 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-03-27 12:47:26 +0000
commitdf61424414fe3fdd7f5dce787aed17d3a4e2ab88 (patch)
treeba26f25dcecac2dd9c2f766fb1c613c912fa7e49 /libmpdemux
parent28ff7246a0b780da497985156b76b97a3b924904 (diff)
downloadmpv-df61424414fe3fdd7f5dce787aed17d3a4e2ab88.tar.bz2
mpv-df61424414fe3fdd7f5dce787aed17d3a4e2ab88.tar.xz
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
Diffstat (limited to 'libmpdemux')
-rw-r--r--libmpdemux/video.c2
1 files changed, 1 insertions, 1 deletions
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;