Index: webrtc/video/video_loopback.cc |
diff --git a/webrtc/video/video_loopback.cc b/webrtc/video/video_loopback.cc |
index c5e9254c087ff4a106903885be2797e56551657e..fa85e363b33478cee7893234f3b83a4c5fa5a183 100644 |
--- a/webrtc/video/video_loopback.cc |
+++ b/webrtc/video/video_loopback.cc |
@@ -10,20 +10,17 @@ |
#include <stdio.h> |
-#include <map> |
- |
#include "gflags/gflags.h" |
#include "testing/gtest/include/gtest/gtest.h" |
#include "webrtc/test/field_trial.h" |
#include "webrtc/test/run_test.h" |
-#include "webrtc/typedefs.h" |
#include "webrtc/video/video_quality_test.h" |
ivica
2015/09/22 11:15:36
Making the headers look the same as in video/scree
|
namespace webrtc { |
- |
namespace flags { |
+// Flags common with screenshare loopback, with different default values. |
DEFINE_int32(width, 640, "Video width."); |
size_t Width() { |
return static_cast<size_t>(FLAGS_width); |
@@ -120,6 +117,12 @@ size_t TLDiscardThreshold() { |
return static_cast<size_t>(FLAGS_tl_discard_threshold); |
} |
+DEFINE_bool(disable_wrapper_frame_dropper, |
+ false, |
+ "Disable FrameDropper in the wrapper. " |
+ "Does not affect drop on capture or PacedSender."); |
+ |
+ |
DEFINE_string(clip, |
"", |
"Name of the clip to show. If empty, using chroma generator."); |
@@ -168,6 +171,7 @@ void Loopback() { |
flags::Codec(), |
flags::NumTemporalLayers(), |
0, // No min transmit bitrate. |
+ flags::FLAGS_disable_wrapper_frame_dropper, |
call_bitrate_config, |
flags::TLDiscardThreshold() |
}, |