Index: webrtc/video/video_loopback.cc |
diff --git a/webrtc/video/video_loopback.cc b/webrtc/video/video_loopback.cc |
index 2a5958db265483a5db2ff485258578c7474e0531..518129479f11374c13455aada4780b4fca091c00 100644 |
--- a/webrtc/video/video_loopback.cc |
+++ b/webrtc/video/video_loopback.cc |
@@ -190,11 +190,6 @@ |
DEFINE_bool(allow_reordering, false, "Allow packet reordering to occur"); |
DEFINE_bool(use_fec, false, "Use forward error correction."); |
- |
-DEFINE_bool(audio, false, "Add audio stream"); |
- |
-DEFINE_bool(audio_video_sync, false, "Sync audio and video stream (no effect if" |
- " audio is false)"); |
DEFINE_string( |
force_fieldtrials, |
@@ -241,10 +236,7 @@ |
{"video", 0.0, 0.0, flags::DurationSecs(), flags::OutputFilename(), |
flags::GraphTitle()}, |
pipe_config, |
- flags::FLAGS_logs, |
- {}, // ss. |
- flags::FLAGS_audio, |
- flags::FLAGS_audio_video_sync}; |
+ flags::FLAGS_logs}; |
std::vector<std::string> stream_descriptors; |
stream_descriptors.push_back(flags::Stream0()); |
@@ -260,7 +252,7 @@ |
if (flags::DurationSecs()) { |
test.RunWithAnalyzer(params); |
} else { |
- test.RunWithRenderers(params); |
+ test.RunWithVideoRenderer(params); |
} |
} |
} // namespace webrtc |