diff options
| author | Carl Hetherington <cth@carlh.net> | 2021-08-12 01:29:24 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2021-08-12 01:30:31 +0200 |
| commit | 689bf63d32a8276477ab12e83bd47a5ff67d3eae (patch) | |
| tree | 343480f6b9a8af8b5b272baa3d54574fd6468921 /src/lib/reel_writer.h | |
| parent | 255d13d09375ecdb11771ac6fda38a66f6a1ab29 (diff) | |
Don't write empty <Text> nodes in subtitles/closed captions.
Diffstat (limited to 'src/lib/reel_writer.h')
| -rw-r--r-- | src/lib/reel_writer.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/reel_writer.h b/src/lib/reel_writer.h index 804a93c05..5de00f641 100644 --- a/src/lib/reel_writer.h +++ b/src/lib/reel_writer.h @@ -103,7 +103,7 @@ private: long frame_info_position (Frame frame, Eyes eyes) const; Frame check_existing_picture_asset (boost::filesystem::path asset); bool existing_picture_frame_ok (FILE* asset_file, std::shared_ptr<InfoFileHandle> info_file, Frame frame) const; - std::shared_ptr<dcp::SubtitleAsset> empty_text_asset (TextType type, boost::optional<DCPTextTrack> track) const; + std::shared_ptr<dcp::SubtitleAsset> empty_text_asset (TextType type, boost::optional<DCPTextTrack> track, bool with_dummy) const; std::shared_ptr<dcp::ReelPictureAsset> create_reel_picture (std::shared_ptr<dcp::Reel> reel, std::list<ReferencedReelAsset> const & refs) const; void create_reel_sound (std::shared_ptr<dcp::Reel> reel, std::list<ReferencedReelAsset> const & refs) const; |
