diff options
Diffstat (limited to 'src/lib/video_content.h')
| -rw-r--r-- | src/lib/video_content.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/lib/video_content.h b/src/lib/video_content.h index c6fce70d5..db46f06eb 100644 --- a/src/lib/video_content.h +++ b/src/lib/video_content.h @@ -192,6 +192,11 @@ public: return _pixel_quanta; } + bool has_alpha() const { + boost::mutex::scoped_lock lm(_mutex); + return _has_alpha; + } + bool use() const { boost::mutex::scoped_lock lm(_mutex); return _use; @@ -261,6 +266,7 @@ private: VideoRange _range; PixelQuanta _pixel_quanta; boost::optional<dcp::LanguageTag> _burnt_subtitle_language; + bool _has_alpha = false; }; |
