mirror of
https://github.com/rock88/moonlight-nx
synced 2024-11-10 06:14:15 +00:00
Cleanup
This commit is contained in:
parent
24436ad841
commit
fbc24fb0f7
3 changed files with 0 additions and 6 deletions
|
@ -222,10 +222,6 @@ AVFrame* FFmpegVideoDecoder::get_frame(bool native_frame) {
|
|||
return NULL;
|
||||
}
|
||||
|
||||
AVFrame* FFmpegVideoDecoder::frame() const {
|
||||
return m_frame;
|
||||
}
|
||||
|
||||
VideoDecodeStats* FFmpegVideoDecoder::video_decode_stats() {
|
||||
uint64_t now = LiGetMillis();
|
||||
m_video_decode_stats.total_fps = (float)m_video_decode_stats.total_frames / ((float)(now - m_video_decode_stats.measurement_start_timestamp) / 1000);
|
||||
|
|
|
@ -10,7 +10,6 @@ public:
|
|||
void cleanup() override;
|
||||
int submit_decode_unit(PDECODE_UNIT decode_unit) override;
|
||||
int capabilities() const override;
|
||||
AVFrame* frame() const override;
|
||||
VideoDecodeStats* video_decode_stats() override;
|
||||
|
||||
private:
|
||||
|
|
|
@ -27,6 +27,5 @@ public:
|
|||
virtual void cleanup() = 0;
|
||||
virtual int submit_decode_unit(PDECODE_UNIT decode_unit) = 0;
|
||||
virtual int capabilities() const = 0;
|
||||
virtual AVFrame* frame() const = 0;
|
||||
virtual VideoDecodeStats* video_decode_stats() = 0;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue