Make sure exceptions during local encodes are propagated up to the front end (#694).
authorCarl Hetherington <cth@carlh.net>
Fri, 18 Sep 2015 13:03:44 +0000 (14:03 +0100)
committerCarl Hetherington <cth@carlh.net>
Fri, 18 Sep 2015 13:03:44 +0000 (14:03 +0100)
src/lib/encoder.cc

index 06fc81ad75f2e29913d0cbcf6b2b16a5ffd82f35..6fe745dd7e4d71a77d9d8b7f086775b66f663b60 100644 (file)
@@ -347,6 +347,7 @@ try
                                LOG_TIMING ("finish-local-encode thread=%1 frame=%2", boost::this_thread::get_id(), vf->index());
                        } catch (std::exception& e) {
                                LOG_ERROR (N_("Local encode failed (%1)"), e.what ());
+                               throw;
                        }
                }