From 4a6799c9d1666aa7db3a67d92bd3e31f16597e13 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Thu, 20 Dec 2012 07:52:16 +0000 Subject: Only use last real frame if it exists. --- src/lib/encoder.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/lib/encoder.cc') diff --git a/src/lib/encoder.cc b/src/lib/encoder.cc index 16bf62408..07ce8f3bc 100644 --- a/src/lib/encoder.cc +++ b/src/lib/encoder.cc @@ -304,9 +304,8 @@ Encoder::process_video (shared_ptr image, bool same, boost::shared_ptrframe_out_path (_last_real_frame.get(), false), _opt->frame_out_path (_video_frame, false)); link (_opt->hash_out_path (_last_real_frame.get(), false), _opt->hash_out_path (_video_frame, false)); } else { -- cgit v1.2.3