summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2012-07-24 20:01:28 +0100
committerCarl Hetherington <cth@carlh.net>2012-07-24 20:01:28 +0100
commit4487a5738f5f7838a4234c593cc5411ed2629a04 (patch)
tree894d334d5003e4960f2e0c9bb6cc2c95c5b83e7f /src/lib
parent411fc6cec1b2ebc10aa8e28436cf84ad316f5f0c (diff)
Fix still encoding again.
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/j2k_still_encoder.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/j2k_still_encoder.cc b/src/lib/j2k_still_encoder.cc
index a42d0d476..5243f0668 100644
--- a/src/lib/j2k_still_encoder.cc
+++ b/src/lib/j2k_still_encoder.cc
@@ -62,7 +62,7 @@ J2KStillEncoder::process_video (shared_ptr<Image> yuv, int frame)
e->write (_opt, 0);
}
- string const real = _opt->frame_out_path (1, false);
+ string const real = _opt->frame_out_path (0, false);
for (int i = 1; i < (_fs->still_duration * ImageMagickDecoder::static_frames_per_second()); ++i) {
if (!boost::filesystem::exists (_opt->frame_out_path (i, false))) {
string const link = _opt->frame_out_path (i, false);