mirror of
https://github.com/mpv-player/mpv
synced 2025-01-12 09:59:44 +00:00
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:
parent
b3406c7d67
commit
160b880c4f
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user