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

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

Issue 2521923002: Revert of 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
« 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 d5b83914b796f313b92a891eaac07f443c4a1bf5..c3f27d88c9b977b2d8b72a5e68261b02e992abce 100644
--- a/content/renderer/media/gpu/rtc_video_encoder.h
+++ b/content/renderer/media/gpu/rtc_video_encoder.h
@@ -41,7 +41,7 @@
class CONTENT_EXPORT RTCVideoEncoder
: NON_EXPORTED_BASE(public webrtc::VideoEncoder) {
public:
- RTCVideoEncoder(media::VideoCodecProfile profile,
+ RTCVideoEncoder(webrtc::VideoCodecType type,
media::GpuVideoAcceleratorFactories* gpu_factories);
~RTCVideoEncoder() override;
@@ -67,7 +67,8 @@
void RecordInitEncodeUMA(int32_t init_retval,
media::VideoCodecProfile profile);
- const media::VideoCodecProfile profile_;
+ // The video codec type, as reported to WebRTC.
+ const webrtc::VideoCodecType video_codec_type_;
// 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