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/image_examiner.cc | |
| parent | df89a39cfd34d0d70609daa214d3b618bb6223bd (diff) | |
Disable YUV->RGB conversion controls with non-YUV sources (#649).
Diffstat (limited to 'src/lib/image_examiner.cc')
| -rw-r--r-- | src/lib/image_examiner.cc | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/lib/image_examiner.cc b/src/lib/image_examiner.cc index 376491738..73d004d7f 100644 --- a/src/lib/image_examiner.cc +++ b/src/lib/image_examiner.cc @@ -92,3 +92,13 @@ ImageExaminer::video_frame_rate () const /* Don't know */ return optional<double> (); } + +bool +ImageExaminer::yuv () const +{ + /* We never convert ImageSource from YUV to RGB (though maybe sometimes we should) + so it makes sense to just say they are never YUV so the option of a conversion + to RGB is not offered. + */ + return false; +} |
