diff options
| author | Carl Hetherington <cth@carlh.net> | 2020-11-18 01:31:30 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2020-11-20 23:47:03 +0100 |
| commit | 84a0d8a228f36f95ac265bac163c8e3f02dc1fd0 (patch) | |
| tree | ed7a3bf3a9d0806ddb3a9ea6196230dfeaa1679e /src/lib/text_content.h | |
| parent | 7ec57dea9d77070244c411c354623cfb5bac09ca (diff) | |
Remove subtitle language from text content.
Diffstat (limited to 'src/lib/text_content.h')
| -rw-r--r-- | src/lib/text_content.h | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/src/lib/text_content.h b/src/lib/text_content.h index 5eda8764f..1c7eef19a 100644 --- a/src/lib/text_content.h +++ b/src/lib/text_content.h @@ -1,5 +1,5 @@ /* - Copyright (C) 2013-2019 Carl Hetherington <cth@carlh.net> + Copyright (C) 2013-2020 Carl Hetherington <cth@carlh.net> This file is part of DCP-o-matic. @@ -40,7 +40,6 @@ public: static int const Y_SCALE; static int const USE; static int const BURN; - static int const LANGUAGE; static int const FONTS; static int const COLOUR; static int const EFFECT; @@ -77,7 +76,6 @@ public: void set_y_offset (double); void set_x_scale (double); void set_y_scale (double); - void set_language (std::string language); void set_colour (dcp::Colour); void unset_colour (); void set_effect (dcp::Effect); @@ -129,11 +127,6 @@ public: return _fonts; } - std::string language () const { - boost::mutex::scoped_lock lm (_mutex); - return _language; - } - boost::optional<dcp::Colour> colour () const { boost::mutex::scoped_lock lm (_mutex); return _colour; @@ -186,10 +179,6 @@ public: static std::list<boost::shared_ptr<TextContent> > from_xml (Content* parent, cxml::ConstNodePtr, int version); -protected: - /** subtitle language (e.g. "German") or empty if it is not known */ - std::string _language; - private: friend struct ffmpeg_pts_offset_test; |
