From 2aa4a82499d4becd2284cdb482213d541b8804dd Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 28 Apr 2024 16:29:10 +0200 Subject: Adding upstream version 86.0.1. Signed-off-by: Daniel Baumann --- .../libwebrtc/webrtc/test/fake_videorenderer.h | 28 ++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 third_party/libwebrtc/webrtc/test/fake_videorenderer.h (limited to 'third_party/libwebrtc/webrtc/test/fake_videorenderer.h') diff --git a/third_party/libwebrtc/webrtc/test/fake_videorenderer.h b/third_party/libwebrtc/webrtc/test/fake_videorenderer.h new file mode 100644 index 0000000000..bc9c1db710 --- /dev/null +++ b/third_party/libwebrtc/webrtc/test/fake_videorenderer.h @@ -0,0 +1,28 @@ +/* + * Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. + * + * Use of this source code is governed by a BSD-style license + * that can be found in the LICENSE file in the root of the source + * tree. An additional intellectual property rights grant can be found + * in the file PATENTS. All contributing project authors may + * be found in the AUTHORS file in the root of the source tree. + */ + +#ifndef TEST_FAKE_VIDEORENDERER_H_ +#define TEST_FAKE_VIDEORENDERER_H_ + +#include "api/video/video_frame.h" +#include "media/base/videosinkinterface.h" + +namespace webrtc { +namespace test { + +class FakeVideoRenderer : public rtc::VideoSinkInterface { + public: + void OnFrame(const webrtc::VideoFrame& frame) override {} +}; + +} // namespace test +} // namespace webrtc + +#endif // TEST_FAKE_VIDEORENDERER_H_ -- cgit v1.2.3