diff options
| author | Carl Hetherington <cth@carlh.net> | 2025-09-20 22:13:38 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2025-09-30 00:06:05 +0200 |
| commit | dad050ee0421308111ec77874871cfe686822988 (patch) | |
| tree | 98a9de991199b16cf06f80cff429b32e6a8c542f | |
| parent | 1ac572e5b5d478c72fa3eb1fb0ab3bcf47532f71 (diff) | |
Add some accessors.
| -rw-r--r-- | src/lib/dcp_video.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/lib/dcp_video.h b/src/lib/dcp_video.h index 8ecae20a9..b8ddb1b02 100644 --- a/src/lib/dcp_video.h +++ b/src/lib/dcp_video.h @@ -58,10 +58,18 @@ public: dcp::ArrayData encode_locally() const; dcp::ArrayData encode_remotely(EncodeServerDescription, int timeout = 30) const; + std::shared_ptr<const PlayerVideo> frame() const { + return _frame; + } + int index() const { return _index; } + Resolution resolution() const { + return _resolution; + } + Eyes eyes() const; bool same(std::shared_ptr<const DCPVideo> other) const; |
