diff options
| author | Carl Hetherington <cth@carlh.net> | 2014-10-25 14:47:43 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2014-10-25 14:47:43 +0100 |
| commit | b6c780d3107557d452c6612d715d01e2be52dbda (patch) | |
| tree | 3548fe3eef61f3b0145bb33a57a89f97bfa75f50 /src/lib/player_video.h | |
| parent | e725a6b4bce2a05275ee611965c62d6803f3bf7c (diff) | |
| parent | 0dcbc398124f740e4fd7b552926f601a3e5c755e (diff) | |
Merge master.
Diffstat (limited to 'src/lib/player_video.h')
| -rw-r--r-- | src/lib/player_video.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/player_video.h b/src/lib/player_video.h index e9d260972..610a7526c 100644 --- a/src/lib/player_video.h +++ b/src/lib/player_video.h @@ -50,7 +50,7 @@ public: Scaler const *, Eyes, Part, - ColourConversion + boost::optional<ColourConversion> ); PlayerVideo (boost::shared_ptr<cxml::Node>, boost::shared_ptr<Socket>, boost::shared_ptr<Log>); @@ -73,7 +73,7 @@ public: return _eyes; } - ColourConversion colour_conversion () const { + boost::optional<ColourConversion> colour_conversion () const { return _colour_conversion; } @@ -97,6 +97,6 @@ private: Scaler const * _scaler; Eyes _eyes; Part _part; - ColourConversion _colour_conversion; + boost::optional<ColourConversion> _colour_conversion; PositionImage _subtitle; }; |
