summaryrefslogtreecommitdiff
path: root/src/lib/subtitle_content.h
diff options
context:
space:
mode:
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;