changeset 22354:b465e5be1a53

assign missing frametime as 1.0/fps; patch by Carl Eigen Hoyos
author nicodvb
date Tue, 27 Feb 2007 21:20:24 +0000
parents 7bfda6330833
children 20be7be45f47
files libmpdemux/demux_rtp_codec.cpp
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/demux_rtp_codec.cpp	Tue Feb 27 21:16:54 2007 +0000
+++ b/libmpdemux/demux_rtp_codec.cpp	Tue Feb 27 21:20:24 2007 +0000
@@ -279,6 +279,7 @@
   int fps = (int)(subsession->videoFPS());
   if (fps != 0) {
     sh_video->fps = fps;
+    sh_video->frametime = 1.0f/fps;
     return;
   }