diff options
| -rw-r--r-- | ChangeLog | 6 | ||||
| -rw-r--r-- | src/lib/j2k_still_encoder.cc | 5 |
2 files changed, 10 insertions, 1 deletions
@@ -1,3 +1,9 @@ +2012-09-18 Carl Hetherington <cth@carlh.net> + + * Fix non-working removal of encode servers. + + * Add GUI front-end to encode server. + 2012-09-17 Carl Hetherington <cth@carlh.net> * Include servomatic in the Windows install. diff --git a/src/lib/j2k_still_encoder.cc b/src/lib/j2k_still_encoder.cc index 5243f0668..3109e244c 100644 --- a/src/lib/j2k_still_encoder.cc +++ b/src/lib/j2k_still_encoder.cc @@ -67,7 +67,10 @@ J2KStillEncoder::process_video (shared_ptr<Image> yuv, int frame) if (!boost::filesystem::exists (_opt->frame_out_path (i, false))) { string const link = _opt->frame_out_path (i, false); #ifdef DVDOMATIC_POSIX - symlink (real.c_str(), link.c_str()); + int const r = symlink (real.c_str(), link.c_str()); + if (r) { + throw EncodeError ("could not create symlink"); + } #endif #ifdef DVDOMATIC_WINDOWS filesystem::copy_file (real, link); |
