| Index: webrtc/video/video_loopback.cc
|
| diff --git a/webrtc/video/video_loopback.cc b/webrtc/video/video_loopback.cc
|
| index 518129479f11374c13455aada4780b4fca091c00..2a5958db265483a5db2ff485258578c7474e0531 100644
|
| --- a/webrtc/video/video_loopback.cc
|
| +++ b/webrtc/video/video_loopback.cc
|
| @@ -191,6 +191,11 @@ 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,
|
| "",
|
| @@ -236,7 +241,10 @@ void Loopback() {
|
| {"video", 0.0, 0.0, flags::DurationSecs(), flags::OutputFilename(),
|
| flags::GraphTitle()},
|
| pipe_config,
|
| - flags::FLAGS_logs};
|
| + flags::FLAGS_logs,
|
| + {}, // ss.
|
| + flags::FLAGS_audio,
|
| + flags::FLAGS_audio_video_sync};
|
|
|
| std::vector<std::string> stream_descriptors;
|
| stream_descriptors.push_back(flags::Stream0());
|
| @@ -252,7 +260,7 @@ void Loopback() {
|
| if (flags::DurationSecs()) {
|
| test.RunWithAnalyzer(params);
|
| } else {
|
| - test.RunWithVideoRenderer(params);
|
| + test.RunWithRenderers(params);
|
| }
|
| }
|
| } // namespace webrtc
|
|
|