| Index: content/renderer/media/webrtc/peer_connection_dependency_factory.cc
|
| diff --git a/content/renderer/media/webrtc/peer_connection_dependency_factory.cc b/content/renderer/media/webrtc/peer_connection_dependency_factory.cc
|
| index df31b7cdbf2fa37ce47435d0d500307e256c468f..f503eebadc43a48e943c7a61a8e4cd1a07221f98 100644
|
| --- a/content/renderer/media/webrtc/peer_connection_dependency_factory.cc
|
| +++ b/content/renderer/media/webrtc/peer_connection_dependency_factory.cc
|
| @@ -238,8 +238,11 @@ void PeerConnectionDependencyFactory::InitializeSignalingThread(
|
| if (!cmd_line->HasSwitch(switches::kDisableWebRtcHWDecoding))
|
| decoder_factory.reset(new RTCVideoDecoderFactory(gpu_factories));
|
|
|
| - if (!cmd_line->HasSwitch(switches::kDisableWebRtcHWEncoding))
|
| + if (!cmd_line->HasSwitch(switches::kDisableWebRtcHWEncoding) ||
|
| + !cmd_line->GetSwitchValueASCII(switches::kDisableWebRtcHWEncoding)
|
| + .empty()) {
|
| encoder_factory.reset(new RTCVideoEncoderFactory(gpu_factories));
|
| + }
|
| }
|
|
|
| #if defined(OS_ANDROID)
|
|
|