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

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

Issue 2499973002: RTCVideoEncoder: Report H264 profile information to WebRTC (Closed)
Patch Set: Add CHECK_EQ size checks for profiles and codecs. Created 4 years, 1 month 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/gpu/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/gpu/rtc_video_encoder.h
diff --git a/content/renderer/media/gpu/rtc_video_encoder.h b/content/renderer/media/gpu/rtc_video_encoder.h
index c3f27d88c9b977b2d8b72a5e68261b02e992abce..d5b83914b796f313b92a891eaac07f443c4a1bf5 100644
--- a/content/renderer/media/gpu/rtc_video_encoder.h
+++ b/content/renderer/media/gpu/rtc_video_encoder.h
@@ -41,7 +41,7 @@ namespace content {
class CONTENT_EXPORT RTCVideoEncoder
: NON_EXPORTED_BASE(public webrtc::VideoEncoder) {
public:
- RTCVideoEncoder(webrtc::VideoCodecType type,
+ RTCVideoEncoder(media::VideoCodecProfile profile,
media::GpuVideoAcceleratorFactories* gpu_factories);
~RTCVideoEncoder() override;
@@ -67,8 +67,7 @@ class CONTENT_EXPORT RTCVideoEncoder
void RecordInitEncodeUMA(int32_t init_retval,
media::VideoCodecProfile profile);
- // The video codec type, as reported to WebRTC.
- const webrtc::VideoCodecType video_codec_type_;
+ const media::VideoCodecProfile profile_;
// Factory for creating VEAs, shared memory buffers, etc.
media::GpuVideoAcceleratorFactories* gpu_factories_;
« no previous file with comments | « no previous file | content/renderer/media/gpu/rtc_video_encoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698