ffmpeg_options = {}
return (('ffmpeg-cdist', 'd0986a9', ffmpeg_options),
- ('libdcp', '4852a22'),
- ('libsub', 'b98c145'))
+ ('libdcp', 'de32e99'),
+ ('libsub', '2d6d0e0'))
def configure_options(target):
opt = ''
opt += ' --static-boost --static-xmlpp'
elif target.version == '7':
opt += ' --workaround-gssapi --static-xmlpp'
+ if target.distro == 'debian' and target.version == 'unstable':
+ target.append_with_space('CXXFLAGS', '-std=c++11')
return opt
_check_for_test_updates = f.optional_bool_child("CheckForTestUpdates").get_value_or (false);
_maximum_j2k_bandwidth = f.optional_number_child<int> ("MaximumJ2KBandwidth").get_value_or (250000000);
- _allow_any_dcp_frame_rate = f.optional_bool_child ("AllowAnyDCPFrameRate");
+ _allow_any_dcp_frame_rate = f.optional_bool_child ("AllowAnyDCPFrameRate").get_value_or (false);
_log_types = f.optional_number_child<int> ("LogTypes").get_value_or (Log::TYPE_GENERAL | Log::TYPE_WARNING | Log::TYPE_ERROR);
_automatic_audio_analysis = f.optional_bool_child ("AutomaticAudioAnalysis").get_value_or (false);
{
Config* config = Config::instance ();
- checked_set (_set_language, config->language ());
+ checked_set (_set_language, static_cast<bool>(config->language()));
if (config->language().get_value_or ("") == "fr") {
checked_set (_language, 3);
optional<size_t> preset = _editor->get().preset ();
- _preset_check->SetValue (preset);
- _preset_choice->Enable (preset);
+ _preset_check->SetValue (static_cast<bool>(preset));
+ _preset_choice->Enable (static_cast<bool>(preset));
if (preset) {
_preset_choice->SetSelection (preset.get ());
} else {
set (presets[s].conversion);
}
}
-
-
{
wxButton* ok = dynamic_cast<wxButton*> (FindWindowById (wxID_OK, this));
if (ok) {
- ok->Enable (_certificate);
+ ok->Enable (static_cast<bool>(_certificate));
}
_download_certificate->Enable (