Added a runtime error when no live transcoding binary is found

This commit is contained in:
emeric
2015-07-01 19:51:08 +02:00
parent 8117d92d50
commit b8e5113914
+1 -1
View File
@@ -58,7 +58,7 @@ AvConvTranscoder::init()
if (!_avConvPath.empty())
LMS_LOG(MOD_TRANSCODE, SEV_INFO) << "Using transcoder " << _avConvPath;
else
LMS_LOG(MOD_TRANSCODE, SEV_ERROR) << "Cannot find any transcoder binary!";
throw std::runtime_error("Cannot find any transcoder binary!");
}