summaryrefslogtreecommitdiff
path: root/src/lib/video_encoder.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2025-12-31 22:57:21 +0100
committerCarl Hetherington <cth@carlh.net>2025-12-31 22:57:21 +0100
commit28d9ad928ec3866bffb0c378e27e5a7baf55d30b (patch)
treec179c7ee433661ffc7492f375f54a7611b0c25ab /src/lib/video_encoder.h
parentd99879343b9c77a008577eb9c4e3adaed26f6f8f (diff)
Remove now-unused video_frames_enqueued().
Diffstat (limited to 'src/lib/video_encoder.h')
-rw-r--r--src/lib/video_encoder.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/lib/video_encoder.h b/src/lib/video_encoder.h
index 7a9813ba8..593bc79d6 100644
--- a/src/lib/video_encoder.h
+++ b/src/lib/video_encoder.h
@@ -45,7 +45,7 @@ public:
virtual void begin() {}
/** Called to pass a bit of video to be encoded as the next DCP frame */
- virtual void encode(std::shared_ptr<PlayerVideo> pv, dcpomatic::DCPTime time);
+ virtual void encode(std::shared_ptr<PlayerVideo> pv, dcpomatic::DCPTime time) = 0;
virtual void pause() = 0;
virtual void resume() = 0;
@@ -53,7 +53,6 @@ public:
/** Called when a processing run has finished */
virtual void end() = 0;
- int video_frames_enqueued() const;
int video_frames_encoded() const;
boost::optional<float> current_encoding_rate() const;
@@ -62,7 +61,6 @@ protected:
std::shared_ptr<const Film> _film;
Writer& _writer;
EventHistory _history;
- boost::optional<dcpomatic::DCPTime> _last_player_video_time;
};