Index: webrtc/modules/video_coding/test/test_util.h |
diff --git a/webrtc/modules/video_coding/test/test_util.h b/webrtc/modules/video_coding/test/test_util.h |
index 45b88b9b50aa3b0260e513d0004052e5d56f62fc..86d3ecfaba61883f2319bb95cb941995615804d9 100644 |
--- a/webrtc/modules/video_coding/test/test_util.h |
+++ b/webrtc/modules/video_coding/test/test_util.h |
@@ -29,26 +29,18 @@ class NullEvent : public webrtc::EventWrapper { |
public: |
virtual ~NullEvent() {} |
- virtual bool Set() { return true; } |
+ bool Set() override { return true; } |
- virtual bool Reset() { return true; } |
- |
- virtual webrtc::EventTypeWrapper Wait(unsigned long max_time) { // NOLINT |
+ webrtc::EventTypeWrapper Wait(unsigned long max_time) override { // NOLINT |
return webrtc::kEventTimeout; |
} |
- |
- virtual bool StartTimer(bool periodic, unsigned long time) { // NOLINT |
- return true; |
- } |
- |
- virtual bool StopTimer() { return true; } |
}; |
class NullEventFactory : public webrtc::EventFactory { |
public: |
virtual ~NullEventFactory() {} |
- virtual webrtc::EventWrapper* CreateEvent() { return new NullEvent; } |
+ webrtc::EventWrapper* CreateEvent() override { return new NullEvent; } |
}; |
class FileOutputFrameReceiver : public webrtc::VCMReceiveCallback { |
@@ -57,7 +49,8 @@ class FileOutputFrameReceiver : public webrtc::VCMReceiveCallback { |
virtual ~FileOutputFrameReceiver(); |
// VCMReceiveCallback |
- virtual int32_t FrameToRender(webrtc::VideoFrame& video_frame); // NOLINT |
+ int32_t FrameToRender(webrtc::VideoFrame& video_frame, |
+ rtc::Optional<uint8_t> qp) override; |
private: |
std::string out_filename_; |