ffmpeg_options = {}
return (('ffmpeg-cdist', 'c7df8d5', ffmpeg_options),
- ('libdcp', 'ce32d6c'),
+ ('libdcp', '45fd755'),
('libsub', '733dfda'))
def configure_options(target):
}
+InvalidSignerError::InvalidSignerError (string reason)
+ : runtime_error (String::compose (_("The certificate chain for signing is invalid (%1)"), reason))
+{
+
+}
+
ProgrammingError::ProgrammingError (string file, int line)
: runtime_error (String::compose (_("Programming error at %1:%2"), file, line))
{
_subtitle_reel = _reels.begin ();
/* Check that the signer is OK if we need one */
- if (_film->is_signed() && !Config::instance()->signer_chain()->valid ()) {
- throw InvalidSignerError ();
+ string reason;
+ if (_film->is_signed() && !Config::instance()->signer_chain()->valid(&reason)) {
+ throw InvalidSignerError (reason);
}
}
if (_film->is_signed ()) {
signer = Config::instance()->signer_chain ();
/* We did check earlier, but check again here to be on the safe side */
- if (!signer->valid ()) {
- throw InvalidSignerError ();
+ string reason;
+ if (!signer->valid (&reason)) {
+ throw InvalidSignerError (reason);
}
}