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

Unified Diff: content/renderer/media/rtc_video_encoder.h

Issue 647613007: RtcVideoEncoder: determine video codec profile at InitEncode time. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Second pass of comments. Created 6 years, 2 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
« no previous file with comments | « no previous file | content/renderer/media/rtc_video_encoder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/media/rtc_video_encoder.h
diff --git a/content/renderer/media/rtc_video_encoder.h b/content/renderer/media/rtc_video_encoder.h
index 43852ef66a3bbf7dfe5b8acf8ddb18d311976095..5f0f59ac0810b49c7427817ec2eb711b441a6e81 100644
--- a/content/renderer/media/rtc_video_encoder.h
+++ b/content/renderer/media/rtc_video_encoder.h
@@ -47,7 +47,6 @@ class CONTENT_EXPORT RTCVideoEncoder
public:
RTCVideoEncoder(
webrtc::VideoCodecType type,
- media::VideoCodecProfile profile,
const scoped_refptr<media::GpuVideoAcceleratorFactories>& gpu_factories);
virtual ~RTCVideoEncoder();
@@ -77,16 +76,14 @@ class CONTENT_EXPORT RTCVideoEncoder
void NotifyError(int32_t error);
- void RecordInitEncodeUMA(int32_t init_retval);
+ void RecordInitEncodeUMA(int32_t init_retval,
+ media::VideoCodecProfile profile);
base::ThreadChecker thread_checker_;
// The video codec type, as reported to WebRTC.
const webrtc::VideoCodecType video_codec_type_;
- // The video codec profile, to configure the encoder to encode to.
- const media::VideoCodecProfile video_codec_profile_;
-
// Factory for creating VEAs, shared memory buffers, etc.
scoped_refptr<media::GpuVideoAcceleratorFactories> gpu_factories_;
« no previous file with comments | « no previous file | content/renderer/media/rtc_video_encoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698