Index: webrtc/modules/video_coding/utility/quality_scaler.cc |
diff --git a/webrtc/modules/video_coding/utility/quality_scaler.cc b/webrtc/modules/video_coding/utility/quality_scaler.cc |
index 697eae09b643f16ed315aa8a724baca9069c0868..8190ef421fe7c5e17e4e5f22b779c263a9a9c335 100644 |
--- a/webrtc/modules/video_coding/utility/quality_scaler.cc |
+++ b/webrtc/modules/video_coding/utility/quality_scaler.cc |
@@ -38,8 +38,13 @@ static const int kQvgaNumPixels = 400 * 300; // 320x240 |
const int QualityScaler::kLowVp8QpThreshold = 29; |
const int QualityScaler::kBadVp8QpThreshold = 95; |
+#if defined(WEBRTC_IOS) |
const int QualityScaler::kLowH264QpThreshold = 32; |
const int QualityScaler::kBadH264QpThreshold = 42; |
+#else |
+const int QualityScaler::kLowH264QpThreshold = 22; |
+const int QualityScaler::kBadH264QpThreshold = 35; |
+#endif |
QualityScaler::QualityScaler() : low_qp_threshold_(-1) {} |