summaryrefslogtreecommitdiff
path: root/src/lib/subtitle_content.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2014-12-11 16:47:48 +0000
committerCarl Hetherington <cth@carlh.net>2014-12-11 16:47:48 +0000
commit5d117c316fe68686885a931bf028cbd8afa5c0e1 (patch)
tree90b2e60eb06137b35d9683b349ece51a765e6f3b /src/lib/subtitle_content.h
parentfe47588e80b35c07fc25b1d9e79bc13b6e439ff0 (diff)
parent6bd8be029c72180a41d70e590bf2cb85a77317bf (diff)
Merge.
Diffstat (limited to 'src/lib/subtitle_content.h')
-rw-r--r--src/lib/subtitle_content.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/lib/subtitle_content.h b/src/lib/subtitle_content.h
index 39a3f32eb..e74164f77 100644
--- a/src/lib/subtitle_content.h
+++ b/src/lib/subtitle_content.h
@@ -84,10 +84,14 @@ public:
return _subtitle_y_scale;
}
- boost::optional<std::string> subtitle_language () const {
+ std::string subtitle_language () const {
return _subtitle_language;
}
+protected:
+ /** subtitle language (e.g. "German") or empty if it is not known */
+ std::string _subtitle_language;
+
private:
friend struct ffmpeg_pts_offset_test;