Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(139)

Unified Diff: webrtc/video/video_loopback.cc

Issue 1351693005: Read the number of TLs for VP9 too + cleanup (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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()
},

Powered by Google App Engine
This is Rietveld 408576698