[MPlayer-cvslog] r22372 - trunk/libmpdemux/demux_rtp_codec.cpp

nicodvb subversion at mplayerhq.hu
Tue Feb 27 22:20:24 CET 2007


Author: nicodvb
Date: Tue Feb 27 22:20:24 2007
New Revision: 22372

Modified:
   trunk/libmpdemux/demux_rtp_codec.cpp

Log:
assign missing frametime as 1.0/fps; patch by Carl Eigen Hoyos

Modified: trunk/libmpdemux/demux_rtp_codec.cpp
==============================================================================
--- trunk/libmpdemux/demux_rtp_codec.cpp	(original)
+++ trunk/libmpdemux/demux_rtp_codec.cpp	Tue Feb 27 22:20:24 2007
@@ -279,6 +279,7 @@ static void needVideoFrameRate(demuxer_t
   int fps = (int)(subsession->videoFPS());
   if (fps != 0) {
     sh_video->fps = fps;
+    sh_video->frametime = 1.0f/fps;
     return;
   }
   



More information about the MPlayer-cvslog mailing list