X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fsubtitle_content.h;h=e74164f774b4cb97c671737101e64901fb1d4c63;hb=5d117c316fe68686885a931bf028cbd8afa5c0e1;hp=39a3f32ebb4b6c715ce0cc7b5d09afa4d4954c8d;hpb=fe47588e80b35c07fc25b1d9e79bc13b6e439ff0;p=dcpomatic.git 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 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;