| Index: content/common/gpu/media/android_video_encode_accelerator.cc
|
| diff --git a/content/common/gpu/media/android_video_encode_accelerator.cc b/content/common/gpu/media/android_video_encode_accelerator.cc
|
| index 79281432c21934a3fbfcce20d8695aa22552f5f3..05f18b6b12513c318a1753885b416710447f41ca 100644
|
| --- a/content/common/gpu/media/android_video_encode_accelerator.cc
|
| +++ b/content/common/gpu/media/android_video_encode_accelerator.cc
|
| @@ -87,9 +87,11 @@ AndroidVideoEncodeAccelerator::GetSupportedProfiles() {
|
|
|
| std::vector<SupportedProfile> profiles;
|
|
|
| +#if defined(ENABLE_WEBRTC)
|
| const CommandLine* cmd_line = CommandLine::ForCurrentProcess();
|
| if (cmd_line->HasSwitch(switches::kDisableWebRtcHWEncoding))
|
| return profiles;
|
| +#endif
|
|
|
| for (size_t i = 0; i < codecs_info.size(); ++i) {
|
| const MediaCodecBridge::CodecsInfo& info = codecs_info[i];
|
|
|