Fix still encoding again.
authorCarl Hetherington <cth@carlh.net>
Tue, 24 Jul 2012 19:01:28 +0000 (20:01 +0100)
committerCarl Hetherington <cth@carlh.net>
Tue, 24 Jul 2012 19:01:28 +0000 (20:01 +0100)
src/lib/j2k_still_encoder.cc

index a42d0d4763da8cadabeb9cd61b00ed2410a93977..5243f066860bcab2d2fa7319b6ce5bdf12f112a9 100644 (file)
@@ -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);