summaryrefslogtreecommitdiff
path: root/src/lib/video_encoder.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/video_encoder.cc')
-rw-r--r--src/lib/video_encoder.cc7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/lib/video_encoder.cc b/src/lib/video_encoder.cc
index 590dc7471..13c9fda46 100644
--- a/src/lib/video_encoder.cc
+++ b/src/lib/video_encoder.cc
@@ -54,6 +54,13 @@ VideoEncoder::video_frames_enqueued() const
}
+int
+VideoEncoder::video_frames_encoded() const
+{
+ return _history.events();
+}
+
+
/** @return an estimate of the current number of frames we are encoding per second,
* if known.
*/