From ce09d818f2895cca08f1a7715b991204bbf4184a Mon Sep 17 00:00:00 2001 From: Charles Otto Date: Sun, 11 Aug 2013 20:18:41 -0400 Subject: [PATCH] TimeVaryingTransforms need to call TimeVaryingTransform::init --- openbr/plugins/frames.cpp | 5 +++++ openbr/plugins/gui.cpp | 4 ++++ share/openbr/models | 2 +- 3 files changed, 10 insertions(+), 1 deletion(-) diff --git a/openbr/plugins/frames.cpp b/openbr/plugins/frames.cpp index fb7f507..586bcae 100644 --- a/openbr/plugins/frames.cpp +++ b/openbr/plugins/frames.cpp @@ -52,6 +52,11 @@ private: { (void) stream; } + + void init() + { + TimeVaryingTransform::init(); + } }; BR_REGISTER(Transform, AggregateFrames) diff --git a/openbr/plugins/gui.cpp b/openbr/plugins/gui.cpp index 93927b0..af2d9fe 100644 --- a/openbr/plugins/gui.cpp +++ b/openbr/plugins/gui.cpp @@ -350,6 +350,8 @@ public: if (!Globals->useGui) return; + TimeVaryingTransform::init(); + if (displayBuffer) delete displayBuffer; displayBuffer = new QPixmap(); @@ -530,6 +532,7 @@ public: target_wait = 1000.0 / targetFPS; timer.start(); last_time = timer.elapsed(); + TimeVaryingTransform::init(); } protected: @@ -583,6 +586,7 @@ public: { initialized = false; framesSeen = 0; + TimeVaryingTransform::init(); } protected: diff --git a/share/openbr/models b/share/openbr/models index dccddf4..a73d510 160000 --- a/share/openbr/models +++ b/share/openbr/models @@ -1 +1 @@ -Subproject commit dccddf4dd3a5239911807beeec39308f8890b1e4 +Subproject commit a73d51013ea05f263e88a28539393159fff2183e -- libgit2 0.21.4