diff options
| author | Carl Hetherington <cth@carlh.net> | 2017-12-29 22:51:50 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2017-12-29 22:51:50 +0000 |
| commit | a5ea5c0d2637dd41e3d356cb62cac75b8cadf8ce (patch) | |
| tree | 45ed553eeaf52a58dea79f66ab6345df1c1657d0 /src/lib/raw_image_proxy.h | |
| parent | 1701be8b9173c675169b5739fbd94f5e6f8d07d1 (diff) | |
Add basic memory-used stuff for butler and reduce minimum audio
readahead quite a bit. This in turn reduces the maximum butler memory
usage as it will keep getting audio (and hence video) until the
minimum audio readahead is hit.
Diffstat (limited to 'src/lib/raw_image_proxy.h')
| -rw-r--r-- | src/lib/raw_image_proxy.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/raw_image_proxy.h b/src/lib/raw_image_proxy.h index 28fd7f263..2b64cbd9b 100644 --- a/src/lib/raw_image_proxy.h +++ b/src/lib/raw_image_proxy.h @@ -38,6 +38,7 @@ public: void send_binary (boost::shared_ptr<Socket>) const; bool same (boost::shared_ptr<const ImageProxy>) const; AVPixelFormat pixel_format () const; + size_t memory_used () const; private: boost::shared_ptr<Image> _image; |
