X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Futil.h;h=d90053cdc19991279337a7d5932d6cf766e8faf0;hb=1bfc60e40f533c6d931a915deabd97899719eb4b;hp=b760f7f4bc12f7dc35ecae5057b8e034d757ae03;hpb=c4403784febdbdd42e9c32e67fadb147f11fe566;p=dcpomatic.git diff --git a/src/lib/util.h b/src/lib/util.h index b760f7f4b..d90053cdc 100644 --- a/src/lib/util.h +++ b/src/lib/util.h @@ -63,6 +63,10 @@ namespace dcp { #define CLOSED_CAPTION_LINES 3 /** Maximum line length of closed caption viewers */ #define CLOSED_CAPTION_LENGTH 30 +/* We are mis-using genre here, as only some metadata tags are written/read. + I tried the use_metadata_tags option but it didn't seem to make any difference. +*/ +#define SWAROOP_ID_TAG "genre" extern std::string program_name; extern bool is_batch_converter; @@ -106,6 +110,7 @@ extern void checked_fwrite (void const * ptr, size_t size, FILE* stream, boost:: extern size_t utf8_strlen (std::string s); extern std::string day_of_week_to_string (boost::gregorian::greg_weekday d); extern void emit_subtitle_image (dcpomatic::ContentTimePeriod period, dcp::SubtitleImage sub, dcp::Size size, boost::shared_ptr decoder); +extern bool show_jobs_on_console (bool progress); #ifdef DCPOMATIC_VARIANT_SWAROOP extern boost::shared_ptr read_swaroop_chain (boost::filesystem::path path); extern void write_swaroop_chain (boost::shared_ptr chain, boost::filesystem::path output);