/*
- Copyright (C) 2012-2020 Carl Hetherington <cth@carlh.net>
+ Copyright (C) 2012-2021 Carl Hetherington <cth@carlh.net>
This file is part of DCP-o-matic.
#include <dcp/name_format.h>
#include <dcp/certificate_chain.h>
#include <dcp/encrypted_kdm.h>
+#include <dcp/language_tag.h>
#include <boost/signals2.hpp>
#include <boost/filesystem.hpp>
#include <vector>
AudioMapping audio_mapping (int output_channels);
+ int minimum_frame_size () const {
+ return _minimum_frame_size;
+ }
+
+ std::vector<dcp::LanguageTag> custom_languages () const {
+ return _custom_languages;
+ }
+
/* SET (mostly) */
void set_master_encoding_threads (int n) {
void set_audio_mapping (AudioMapping m);
void set_audio_mapping_to_default ();
+ void set_minimum_frame_size (int size) {
+ maybe_set (_minimum_frame_size, size);
+ }
+
+ void add_custom_language (dcp::LanguageTag tag);
+
void changed (Property p = OTHER);
boost::signals2::signal<void (Property)> Changed;
/** Emitted if read() failed on an existing Config file. There is nothing
boost::optional<boost::filesystem::path> _player_playlist_directory;
boost::optional<boost::filesystem::path> _player_kdm_directory;
boost::optional<AudioMapping> _audio_mapping;
+ int _minimum_frame_size;
+ std::vector<dcp::LanguageTag> _custom_languages;
static int const _current_version;