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

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

Issue 2499973002: RTCVideoEncoder: Report H264 profile information to WebRTC (Closed)
Patch Set: 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
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..3e813c79a9ea56b6d5ee3a0eecf17dee89565199 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(const media::VideoCodecProfile& profile,
Pawel Osciak 2016/11/17 07:30:05 Nit: perhaps just pass by value, as this is an enu
magjed_chromium 2016/11/17 13:08:03 Done.
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') | content/renderer/media/gpu/rtc_video_encoder.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698