projects
/
platform
/
upstream
/
gst-plugins-bad.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b5cefff
)
motioncells: make framedrop work at 30 fps too
author
Nicola Murino
<nicola.murino@gmail.com>
Tue, 20 May 2014 05:29:16 +0000
(07:29 +0200)
committer
Thiago Santos
<ts.santos@sisa.samsung.com>
Fri, 30 May 2014 19:58:59 +0000
(16:58 -0300)
https://bugzilla.gnome.org/show_bug.cgi?id=730141
ext/opencv/MotionCells.cpp
patch
|
blob
|
history
diff --git
a/ext/opencv/MotionCells.cpp
b/ext/opencv/MotionCells.cpp
index
0b62ab1
..
1adcbed
100644
(file)
--- a/
ext/opencv/MotionCells.cpp
+++ b/
ext/opencv/MotionCells.cpp
@@
-146,7
+146,8
@@
MotionCells::performDetectionMotionCells (IplImage * p_frame,
: p_framerate <= 10 ? sumframecnt = 2
: p_framerate <= 15 ? sumframecnt = 3
: p_framerate <= 20 ? sumframecnt = 4
- : p_framerate <= 25 ? sumframecnt = 5 : sumframecnt = 0 : sumframecnt = 0;
+ : p_framerate <= 25 ? sumframecnt = 5
+ : p_framerate <= 30 ? sumframecnt = 6 : sumframecnt = 0 : sumframecnt = 0;
m_framecnt++;
m_changed_datafile = p_changed_datafile;