Commit bd8f57af9d922bc4736fbfb3f9d91fda8d736f87
1 parent
c057457a
Add a finalize method to AggregateFrames, this is important
Showing
1 changed file
with
6 additions
and
0 deletions
openbr/plugins/frames.cpp
| @@ -35,6 +35,12 @@ private: | @@ -35,6 +35,12 @@ private: | ||
| 35 | dst.file = buffer.takeFirst().file; | 35 | dst.file = buffer.takeFirst().file; |
| 36 | } | 36 | } |
| 37 | 37 | ||
| 38 | + void finalize(TemplateList & output) | ||
| 39 | + { | ||
| 40 | + (void) output; | ||
| 41 | + buffer.clear(); | ||
| 42 | + } | ||
| 43 | + | ||
| 38 | void store(QDataStream &stream) const | 44 | void store(QDataStream &stream) const |
| 39 | { | 45 | { |
| 40 | (void) stream; | 46 | (void) stream; |