diff options
| author | Carl Hetherington <cth@carlh.net> | 2022-06-03 20:07:57 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2022-06-03 22:40:59 +0200 |
| commit | 6fa6f0a7ca116c6cf5dc5b8d2e8ed3a0fd4a6127 (patch) | |
| tree | 04c01959d9849967460a9c2e780009c2986299f3 /src/lib/util.h | |
| parent | 12f089b89fff8409cd012cab1ba4eb8b619e554e (diff) | |
Make subtitle asset filename obey custom settings (#2260).
Diffstat (limited to 'src/lib/util.h')
| -rw-r--r-- | src/lib/util.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/util.h b/src/lib/util.h index 233b3cb2a..cd5a1c2c5 100644 --- a/src/lib/util.h +++ b/src/lib/util.h @@ -49,6 +49,7 @@ namespace dcp { class PictureAsset; class SoundAsset; + class SubtitleAsset; } /** The maximum number of audio channels that we can have in a DCP */ @@ -107,6 +108,7 @@ extern void set_backtrace_file (boost::filesystem::path); extern std::map<std::string, std::string> split_get_request (std::string url); extern std::string video_asset_filename (std::shared_ptr<dcp::PictureAsset> asset, int reel_index, int reel_count, boost::optional<std::string> content_summary); extern std::string audio_asset_filename (std::shared_ptr<dcp::SoundAsset> asset, int reel_index, int reel_count, boost::optional<std::string> content_summary); +extern std::string subtitle_asset_filename (std::shared_ptr<dcp::SubtitleAsset> asset, int reel_index, int reel_count, boost::optional<std::string> content_summary); extern std::string atmos_asset_filename (std::shared_ptr<dcp::AtmosAsset> asset, int reel_index, int reel_count, boost::optional<std::string> content_summary); extern float relaxed_string_to_float (std::string); extern std::string careful_string_filter (std::string); |
