summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2025-05-31 02:39:34 +0200
committerCarl Hetherington <cth@carlh.net>2025-06-17 00:04:03 +0200
commit0237f40ca78f5d08fb8d1ce9c10a6ca1a3762837 (patch)
tree2ec99177997c0ff9157be7f681189d4fcf52c057
parent4c69499a4047029ca99d0a88f5de0e6b6ba02a32 (diff)
Add PlayerVideo::crop().
-rw-r--r--src/lib/player_video.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/player_video.h b/src/lib/player_video.h
index 99eafd11e..c3ea9351b 100644
--- a/src/lib/player_video.h
+++ b/src/lib/player_video.h
@@ -111,6 +111,10 @@ public:
return _out_size;
}
+ Crop crop() const {
+ return _crop;
+ }
+
bool same (std::shared_ptr<const PlayerVideo> other) const;
size_t memory_used () const;