# HG changeset patch # User reimar # Date 1266763416 0 # Node ID b14b32c2093565b204e0ac84366421af5aae894d # Parent 34e3d7d697d95dad51947765b71e78012895fa16 Fix fps output with -identify when frame rate extension is used for MPEG-2 diff -r 34e3d7d697d9 -r b14b32c20935 libmpdemux/video.c --- a/libmpdemux/video.c Sun Feb 21 14:05:51 2010 +0000 +++ b/libmpdemux/video.c Sun Feb 21 14:43:36 2010 +0000 @@ -318,7 +318,7 @@ // 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 {