mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
motioncells: make framedrop work at 30 fps too
https://bugzilla.gnome.org/show_bug.cgi?id=730141
This commit is contained in:
parent
b5cefffb9f
commit
f48358636b
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue