diff --git a/openbr/plugins/frames.cpp b/openbr/plugins/frames.cpp index ca40dc1..5076846 100644 --- a/openbr/plugins/frames.cpp +++ b/openbr/plugins/frames.cpp @@ -28,7 +28,7 @@ class AggregateFrames : public TimeVaryingTransform buffer.append(src); if (buffer.size() < n) return; foreach (const Template &t, buffer) dst.append(t); - buffer.removeFirst(); + dst.file = buffer.takeFirst().file; } void store(QDataStream &stream) const