-#include <vector>
-#include <boost/shared_ptr.hpp>
-#include <boost/signals2.hpp>
-#include <boost/filesystem.hpp>
+#include "isdcf_metadata.h"
+#include "video_content.h"
-#include "isdcf_metadata.h"
-#include "colour_conversion.h"
-#include "video_content.h"
+#include <boost/shared_ptr.hpp>
+#include <boost/signals2.hpp>
+#include <boost/filesystem.hpp>
+#include <vector>
/** @return number of threads to use for J2K encoding on the local machine */
int num_local_encoding_threads () const {
return _num_local_encoding_threads;
/** @return number of threads to use for J2K encoding on the local machine */
int num_local_encoding_threads () const {
return _num_local_encoding_threads;
std::vector<boost::filesystem::path> history () const {
return _history;
}
/** @param n New number of local encoding threads */
void set_num_local_encoding_threads (int n) {
std::vector<boost::filesystem::path> history () const {
return _history;
}
/** @param n New number of local encoding threads */
void set_num_local_encoding_threads (int n) {
- _default_audio_delay = d;
- changed ();
- }
-
- void set_colour_conversions (std::vector<PresetColourConversion> const & c) {
- _colour_conversions = c;
- changed ();
+ maybe_set (_default_audio_delay, d);
/** number of threads to use for J2K encoding on the local machine */
int _num_local_encoding_threads;
/** number of threads to use for J2K encoding on the local machine */
int _num_local_encoding_threads;
/** Default ISDCF metadata for newly-created Films */
ISDCFMetadata _default_isdcf_metadata;
boost::optional<std::string> _language;
/** Default ISDCF metadata for newly-created Films */
ISDCFMetadata _default_isdcf_metadata;
boost::optional<std::string> _language;
Ratio const * _default_container;
DCPContentType const * _default_dcp_content_type;
std::string _dcp_issuer;
int _default_j2k_bandwidth;
int _default_audio_delay;
Ratio const * _default_container;
DCPContentType const * _default_dcp_content_type;
std::string _dcp_issuer;
int _default_j2k_bandwidth;
int _default_audio_delay;
std::vector<boost::filesystem::path> _history;
/** Singleton instance, or 0 */
std::vector<boost::filesystem::path> _history;
/** Singleton instance, or 0 */