Use a running index to generate unique file names.
authorMohammed Sameer <msameer@foolab.org>
Fri, 28 Dec 2012 03:10:59 +0000 (05:10 +0200)
committerMohammed Sameer <msameer@foolab.org>
Fri, 28 Dec 2012 03:10:59 +0000 (05:10 +0200)
commit57b925f614a733f034d395e99b95ff4f46b1ff44
treecd31747b18637c68e55f2649442a28f9b87f338a
parent4af34a8cdb0b658464d285fb71714c27ef12d5a2
Use a running index to generate unique file names.

If we start capturing an image before the previous one gets a chance to be written
then we might accidentally return the same name twice.
src/filenaming.cpp
src/filenaming.h