}
if (fs->content_type() == STILL) {
- return shared_ptr<Decoder> (new ImageMagickDecoder (fs, o, j, l, minimal, ignore_length));
+ /* Always ignore length of decodes of stills, since the decoder finishes very quickly
+ and its the encoder that takes the time.
+ */
+ return shared_ptr<Decoder> (new ImageMagickDecoder (fs, o, j, l, minimal, true));
}
return shared_ptr<Decoder> (new FFmpegDecoder (fs, o, j, l, minimal, ignore_length));