diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-11-13 14:12:15 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-11-13 14:12:15 +0000 |
| commit | 71d56fbe3ba5974505469d2c8b7efcdef4eb8adc (patch) | |
| tree | 7967193b6b8668bf0de9439a635e1bc9f80283a8 /src/lib/video_content.h | |
| parent | df89a39cfd34d0d70609daa214d3b618bb6223bd (diff) | |
Disable YUV->RGB conversion controls with non-YUV sources (#649).
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 309fa0670..689655131 100644 --- a/src/lib/video_content.h +++ b/src/lib/video_content.h @@ -150,6 +150,11 @@ public: return _sample_aspect_ratio; } + bool yuv () const { + boost::mutex::scoped_lock lm (_mutex); + return _yuv; + } + Frame fade_in () const { boost::mutex::scoped_lock lm (_mutex); return _fade_in; @@ -197,6 +202,7 @@ private: if there is one. */ boost::optional<double> _sample_aspect_ratio; + bool _yuv; Frame _fade_in; Frame _fade_out; }; |
