Fix fps output with -identify when frame rate extension is used for MPEG-2

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30683 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
reimar 2010-02-21 14:43:36 +00:00
parent b3406c7d67
commit 160b880c4f
1 changed files with 1 additions and 1 deletions

View File

@ -318,7 +318,7 @@ mpeg_header_parser:
// display info:
sh_video->format=picture.mpeg1?0x10000001:0x10000002; // mpeg video
sh_video->fps=picture.fps;
sh_video->fps=picture.fps * picture.frame_rate_extension_n / picture.frame_rate_extension_d;
if(!sh_video->fps){
sh_video->frametime=0;
} else {