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

Unified Diff: chrome/renderer/media/cast_rtp_stream.cc

Issue 973753002: Remove Width and Height of The Video Content (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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: chrome/renderer/media/cast_rtp_stream.cc
diff --git a/chrome/renderer/media/cast_rtp_stream.cc b/chrome/renderer/media/cast_rtp_stream.cc
index 6cc8e6f58f67d2c65fdb5a5dc4ad46502ba224c8..7c40523c302e21a5d7856d653839a2e3b91cd9f3 100644
--- a/chrome/renderer/media/cast_rtp_stream.cc
+++ b/chrome/renderer/media/cast_rtp_stream.cc
@@ -70,8 +70,6 @@ CastRtpPayloadParams DefaultVp8Payload() {
payload.min_bitrate = 50;
payload.channels = 1;
payload.max_frame_rate = media::cast::kDefaultMaxFrameRate;
- payload.width = 1280;
- payload.height = 720;
payload.codec_name = kCodecNameVp8;
return payload;
}
@@ -89,8 +87,6 @@ CastRtpPayloadParams DefaultH264Payload() {
payload.min_bitrate = 50;
payload.channels = 1;
payload.max_frame_rate = media::cast::kDefaultMaxFrameRate;
- payload.width = 1280;
- payload.height = 720;
payload.codec_name = kCodecNameH264;
return payload;
}
@@ -460,9 +456,8 @@ CastRtpPayloadParams::CastRtpPayloadParams()
max_bitrate(0),
min_bitrate(0),
channels(0),
- max_frame_rate(0.0),
- width(0),
- height(0) {}
+ max_frame_rate(0.0) {
+}
CastRtpPayloadParams::~CastRtpPayloadParams() {}
« no previous file with comments | « chrome/renderer/media/cast_rtp_stream.h ('k') | chrome/test/data/extensions/api_test/cast_streaming/end_to_end_sender.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698