summaryrefslogtreecommitdiff
path: root/src/lib/j2k_encoder.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2019-11-30 21:17:22 +0100
committerCarl Hetherington <cth@carlh.net>2019-11-30 21:17:22 +0100
commitb62cc4a8ced62d0d23da5a66494236be2822be79 (patch)
treef3fe5f9c364fb4a22b682c243c075ba19e76ec22 /src/lib/j2k_encoder.h
parent7c839a2530c910f062f3da8a02b7c70603c1f31b (diff)
Don't say we're encoding at 0fps when we're waiting for the timing history to stablise.
Diffstat (limited to 'src/lib/j2k_encoder.h')
-rw-r--r--src/lib/j2k_encoder.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/j2k_encoder.h b/src/lib/j2k_encoder.h
index 01cf0605e..b723ca88f 100644
--- a/src/lib/j2k_encoder.h
+++ b/src/lib/j2k_encoder.h
@@ -68,7 +68,7 @@ public:
/** Called when a processing run has finished */
void end ();
- float current_encoding_rate () const;
+ boost::optional<float> current_encoding_rate () const;
int video_frames_enqueued () const;
void servers_list_changed ();