Commit 3152b9405c60335c8566b3ed4ca4be4fa7aaa650
1 parent
95f52c6e
DropFrames is better, no need to check for empty in AggregateFrames
Showing
1 changed file
with
0 additions
and
3 deletions
openbr/plugins/frames.cpp
| ... | ... | @@ -29,9 +29,6 @@ private: |
| 29 | 29 | |
| 30 | 30 | void projectUpdate(const Template &src, Template &dst) |
| 31 | 31 | { |
| 32 | - // DropFrames will pass on empty Templates | |
| 33 | - // but we only want to use non-dropped frames | |
| 34 | - if (src.empty()) return; | |
| 35 | 32 | buffer.append(src); |
| 36 | 33 | if (buffer.size() < n) return; |
| 37 | 34 | foreach (const Template &t, buffer) dst.append(t); | ... | ... |