projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
s/use_template/take_settings_from/g
[dcpomatic.git]
/
src
/
lib
/
video_ring_buffers.h
diff --git
a/src/lib/video_ring_buffers.h
b/src/lib/video_ring_buffers.h
index cf61b90cc905c405d1a9c11b0dcac26f020479f9..887a5dc2fd2ca9e2c4c3c0858f9d519773b4441c 100644
(file)
--- a/
src/lib/video_ring_buffers.h
+++ b/
src/lib/video_ring_buffers.h
@@
-39,6
+39,8
@@
public:
bool empty () const;
boost::optional<DCPTime> earliest () const;
+ std::pair<size_t, std::string> memory_used () const;
+
private:
mutable boost::mutex _mutex;
std::list<std::pair<boost::shared_ptr<PlayerVideo>, DCPTime> > _data;