summaryrefslogtreecommitdiff
path: root/net/openmcu/files/patch-video_cxx
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2008-03-06 08:36:20 +0000
committerPav Lucistnik <pav@FreeBSD.org>2008-03-06 08:36:20 +0000
commitf67963fb057e1e3383b4a9d9face34bbd22f3581 (patch)
tree4d87294a9c0b0c8968cececd575a25bd3eb8fd0d /net/openmcu/files/patch-video_cxx
parentMaual has been updated recently (November 2007). (diff)
- Update to 2.2.1 and fix build with latest openh323
Submitted by: Steve Ames <steve@energistic.com>
Notes
Notes: svn path=/head/; revision=208489
Diffstat (limited to 'net/openmcu/files/patch-video_cxx')
-rw-r--r--net/openmcu/files/patch-video_cxx11
1 files changed, 11 insertions, 0 deletions
diff --git a/net/openmcu/files/patch-video_cxx b/net/openmcu/files/patch-video_cxx
new file mode 100644
index 000000000000..fb94cfeb4e27
--- /dev/null
+++ b/net/openmcu/files/patch-video_cxx
@@ -0,0 +1,11 @@
+--- video.cxx.orig 2006-07-21 10:01:40.000000000 +0200
++++ video.cxx 2008-03-06 09:31:48.000000000 +0100
+@@ -285,7 +285,7 @@
+
+ BOOL PVideoInputDevice_OpenMCU::GetFrameData(BYTE * buffer, PINDEX * bytesReturned)
+ {
+- grabDelay.Delay(msBetweenFrames);
++ grabDelay.Delay(1000/GetFrameRate());
+
+ return GetFrameDataNoDelay(buffer, bytesReturned);
+ }