diff options
| author | Carl Hetherington <cth@carlh.net> | 2014-07-11 11:16:01 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2014-07-11 11:16:01 +0100 |
| commit | 65618b6b245a7ba25a7814e00d1d1510cfa61f64 (patch) | |
| tree | 22d41c04c16c7625d1271eb8821d269686f13f0b /src/lib/subtitle_content.h | |
| parent | a8af9a0b57b853b8a8cd8fa35adb3fc967d59ee7 (diff) | |
Rename subtitle_use -> use_subtitles.
Diffstat (limited to 'src/lib/subtitle_content.h')
| -rw-r--r-- | src/lib/subtitle_content.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/lib/subtitle_content.h b/src/lib/subtitle_content.h index 29634f95a..57f5eb950 100644 --- a/src/lib/subtitle_content.h +++ b/src/lib/subtitle_content.h @@ -28,7 +28,7 @@ public: static int const SUBTITLE_X_OFFSET; static int const SUBTITLE_Y_OFFSET; static int const SUBTITLE_SCALE; - static int const SUBTITLE_USE; + static int const USE_SUBTITLES; }; /** @class SubtitleContent @@ -50,14 +50,14 @@ public: virtual bool has_subtitles () const = 0; - void set_subtitle_use (bool); + void set_use_subtitles (bool); void set_subtitle_x_offset (double); void set_subtitle_y_offset (double); void set_subtitle_scale (double); - bool subtitle_use () const { + bool use_subtitles () const { boost::mutex::scoped_lock lm (_mutex); - return _subtitle_use; + return _use_subtitles; } double subtitle_x_offset () const { @@ -78,7 +78,7 @@ public: private: friend class ffmpeg_pts_offset_test; - bool _subtitle_use; + bool _use_subtitles; /** x offset for placing subtitles, as a proportion of the container width; * +ve is further right, -ve is further left. */ |
