aboutsummaryrefslogtreecommitdiff
path: root/deeptagger/deeptagger.cpp
diff options
context:
space:
mode:
authorPřemysl Eric Janouch <p@janouch.name>2024-12-14 22:56:26 +0100
committerPřemysl Eric Janouch <p@janouch.name>2024-12-14 22:56:26 +0100
commit537b48dc221ea5d375ac8f61603787bac49efc3c (patch)
tree217aae38c48c5d2aa02f6d686bc7997c6113666f /deeptagger/deeptagger.cpp
parent2c09745a9fea90b9802ff216ba0f78486c59de58 (diff)
downloadgallery-537b48dc221ea5d375ac8f61603787bac49efc3c.tar.gz
gallery-537b48dc221ea5d375ac8f61603787bac49efc3c.tar.xz
gallery-537b48dc221ea5d375ac8f61603787bac49efc3c.zip
deeptagger: flush batches
So that crashes do not disturb the output as much.
Diffstat (limited to 'deeptagger/deeptagger.cpp')
-rw-r--r--deeptagger/deeptagger.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/deeptagger/deeptagger.cpp b/deeptagger/deeptagger.cpp
index 729eeac..4911b8d 100644
--- a/deeptagger/deeptagger.cpp
+++ b/deeptagger/deeptagger.cpp
@@ -315,6 +315,7 @@ run(std::vector<Magick::Image> &images, const Config &config,
}
}
}
+ fflush(stdout);
}
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -