# HG changeset patch # User reimar # Date 1269694046 0 # Node ID 798e4a2b257132bc76295bb07ae8fcc1a60c9ffc # Parent 0be6ed16332187500a3690d63e73be7f5603bf38 100l, fix frametime calculation for MPEG-2 files with frame rate extension. diff -r 0be6ed163321 -r 798e4a2b2571 libmpdemux/video.c --- a/libmpdemux/video.c Sat Mar 27 11:31:02 2010 +0000 +++ b/libmpdemux/video.c Sat Mar 27 12:47:26 2010 +0000 @@ -324,7 +324,7 @@ 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;