diff options
| author | Carl Hetherington <cth@carlh.net> | 2021-09-15 00:42:15 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2021-09-27 13:41:46 +0200 |
| commit | c59981ce92898f6be6987f10ebb29161e36e6766 (patch) | |
| tree | a06ac20b947af1f5c96c844052dbd00da60a2c81 /src/lib/player_video.h | |
| parent | 00da1e02bb8ebfbc377ad34d9810ef1cd72b9cd0 (diff) | |
Some const correctness.
Diffstat (limited to 'src/lib/player_video.h')
| -rw-r--r-- | src/lib/player_video.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/player_video.h b/src/lib/player_video.h index 347d10667..872bc9864 100644 --- a/src/lib/player_video.h +++ b/src/lib/player_video.h @@ -76,7 +76,7 @@ public: void prepare (std::function<AVPixelFormat (AVPixelFormat)> pixel_format, VideoRange video_range, bool aligned, bool fast, bool proxy_only); std::shared_ptr<Image> image (std::function<AVPixelFormat (AVPixelFormat)> pixel_format, VideoRange video_range, bool aligned, bool fast) const; - std::shared_ptr<Image> raw_image () const; + std::shared_ptr<const Image> raw_image () const; static AVPixelFormat force (AVPixelFormat, AVPixelFormat); static AVPixelFormat keep_xyz_or_rgb (AVPixelFormat); |
