[Pkg-voip-commits] r7389 - in /opal/trunk/debian: changelog patches/00list patches/ratectl.dpatch
dedu-guest at alioth.debian.org
dedu-guest at alioth.debian.org
Fri Jun 26 06:11:39 UTC 2009
Author: dedu-guest
Date: Fri Jun 26 06:11:37 2009
New Revision: 7389
URL: http://svn.debian.org/wsvn/pkg-voip/?sc=1&rev=7389
Log:
Fix "Rate controller skips too many frames", stolen from upstream.
Added:
opal/trunk/debian/patches/ratectl.dpatch
Modified:
opal/trunk/debian/changelog
opal/trunk/debian/patches/00list
Modified: opal/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-voip/opal/trunk/debian/changelog?rev=7389&op=diff
==============================================================================
--- opal/trunk/debian/changelog (original)
+++ opal/trunk/debian/changelog Fri Jun 26 06:11:37 2009
@@ -2,6 +2,7 @@
[ Eugen Dedu ]
* Fix ptlib dependency, which lead to build failure (Closes #533631)
+ * Fix "Rate controller skips too many frames", stolen from upstream.
-- Mark Purcell <msp at debian.org> Sat, 06 Jun 2009 17:43:25 +1000
Modified: opal/trunk/debian/patches/00list
URL: http://svn.debian.org/wsvn/pkg-voip/opal/trunk/debian/patches/00list?rev=7389&op=diff
==============================================================================
--- opal/trunk/debian/patches/00list (original)
+++ opal/trunk/debian/patches/00list Fri Jun 26 06:11:37 2009
@@ -1,1 +1,2 @@
simpleopal
+ratectl
Added: opal/trunk/debian/patches/ratectl.dpatch
URL: http://svn.debian.org/wsvn/pkg-voip/opal/trunk/debian/patches/ratectl.dpatch?rev=7389&op=file
==============================================================================
--- opal/trunk/debian/patches/ratectl.dpatch (added)
+++ opal/trunk/debian/patches/ratectl.dpatch Fri Jun 26 06:11:37 2009
@@ -1,0 +1,18 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## libname.dpatch by Eugen Dedu
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Fix for "Only 2 images per second are sent/received"
+
+ at DPATCH@
+--- opal-svn/src/codec/ratectl.cxx 2009-05-21 09:47:58.000000000 +0200
++++ opal/src/codec/ratectl.cxx 2009-06-17 12:19:12.000000000 +0200
+@@ -407,7 +407,7 @@
+ "out=" << ((m_outputFrameCount-0) * 1000) / (now - startTime) << " fps,"
+ "target=" << (1000 / m_outputFrameTime) << " fps");
+
+- if ((frameRateHistoryDuration + outputFrameTime) > (m_bitRateCalc.GetHistoryFrames()+1) * outputFrameTime) {
++ if ((frameRateHistoryDuration + outputFrameTime) <= (m_bitRateCalc.GetHistoryFrames()+1) * outputFrameTime) {
+ PTRACE(3, "RateController\tSkipping frame to enforce frame rate");
+ return true;
+ }
More information about the Pkg-voip-commits
mailing list