Skip to content

Commit 80006f4

Browse files
committed
will clear mesg.names when saving images to file
1 parent 9d529a0 commit 80006f4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/capture.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -837,6 +837,7 @@ void acquisition::Capture::save_mat_frames(int dump) {
837837
create_cam_directories();
838838

839839
string timestamp;
840+
mesg.name.clear();
840841
for (unsigned int i = 0; i < numCameras_; i++) {
841842

842843
if (dump) {
@@ -924,6 +925,7 @@ void acquisition::Capture::save_binary_frames(int dump) {
924925
create_cam_directories();
925926

926927
string timestamp;
928+
mesg.name.clear();
927929
for (unsigned int i = 0; i < numCameras_; i++) {
928930

929931
if (dump) {

0 commit comments

Comments
 (0)