#include "content.h"
+class Font;
+
class SubtitleContentProperty
{
public:
static int const SUBTITLE_Y_SCALE;
static int const USE_SUBTITLES;
static int const SUBTITLE_LANGUAGE;
+ static int const FONTS;
};
/** @class SubtitleContent
return _subtitle_y_scale;
}
+ std::list<boost::shared_ptr<Font> > fonts () const {
+ boost::mutex::scoped_lock lm (_mutex);
+ return _fonts;
+ }
+
std::string subtitle_language () const {
+ boost::mutex::scoped_lock lm (_mutex);
return _subtitle_language;
}
protected:
/** subtitle language (e.g. "German") or empty if it is not known */
std::string _subtitle_language;
+ std::list<boost::shared_ptr<Font> > _fonts;
private:
friend struct ffmpeg_pts_offset_test;
double _subtitle_x_scale;
/** y scale factor to apply to subtitles */
double _subtitle_y_scale;
-
- boost::optional<std::string> _subtitle_language;
};
#endif