From 467153309609eaf2bbf0edc03817f6cb4c106251 Mon Sep 17 00:00:00 2001 From: nicodvb Date: Tue, 27 Feb 2007 21:20:24 +0000 Subject: [PATCH] assign missing frametime as 1.0/fps; patch by Carl Eigen Hoyos git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22372 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libmpdemux/demux_rtp_codec.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/libmpdemux/demux_rtp_codec.cpp b/libmpdemux/demux_rtp_codec.cpp index 59173fba2b..9d45fff92d 100644 --- a/libmpdemux/demux_rtp_codec.cpp +++ b/libmpdemux/demux_rtp_codec.cpp @@ -279,6 +279,7 @@ static void needVideoFrameRate(demuxer_t* demuxer, int fps = (int)(subsession->videoFPS()); if (fps != 0) { sh_video->fps = fps; + sh_video->frametime = 1.0f/fps; return; }