Suppress WebRtcVideoEncoderFactory overloaded virtual function warning
Suppress WebRtcVideoEncoderFactory overloaded virtual function warning in WebRtcSimulcastEncoderFactory and FakeWebRtcVideoEncoderFactory. This warning is triggered by the change in this CL: https://codereview.webrtc.org/2449993003/. BUG=webrtc:6402, webrtc:6337 Review-Url: https://codereview.webrtc.org/2468253002 Cr-Commit-Position: refs/heads/master@{#14901}
This commit is contained in:
parent
44e0efe0e6
commit
d2fce1744f
@ -248,6 +248,10 @@ class FakeWebRtcVideoEncoderFactory : public WebRtcVideoEncoderFactory {
|
||||
}
|
||||
|
||||
private:
|
||||
// Disable overloaded virtual function warning. TODO(magjed): Remove once
|
||||
// http://crbug/webrtc/6402 is fixed.
|
||||
using cricket::WebRtcVideoEncoderFactory::CreateVideoEncoder;
|
||||
|
||||
rtc::CriticalSection crit_;
|
||||
rtc::Event created_video_encoder_event_;
|
||||
std::vector<cricket::VideoCodec> codecs_;
|
||||
|
||||
@ -149,6 +149,10 @@ class WebRtcSimulcastEncoderFactory
|
||||
}
|
||||
|
||||
private:
|
||||
// Disable overloaded virtual function warning. TODO(magjed): Remove once
|
||||
// http://crbug/webrtc/6402 is fixed.
|
||||
using cricket::WebRtcVideoEncoderFactory::CreateVideoEncoder;
|
||||
|
||||
cricket::WebRtcVideoEncoderFactory* factory_;
|
||||
// A list of encoders that were created without being wrapped in a
|
||||
// SimulcastEncoderAdapter.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user