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

Unified Diff: webrtc/media/engine/webrtcvideoengine2.h

Issue 2492473002: Stop caching supported codecs in WebRtcVideoEngine2 (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: webrtc/media/engine/webrtcvideoengine2.h
diff --git a/webrtc/media/engine/webrtcvideoengine2.h b/webrtc/media/engine/webrtcvideoengine2.h
index ef893d2e98fa2ee1ae60d45cd41b02277ac8b9ea..1032e9c7e035bc4e5a0644d8d048d31d2edc469f 100644
--- a/webrtc/media/engine/webrtcvideoengine2.h
+++ b/webrtc/media/engine/webrtcvideoengine2.h
@@ -105,7 +105,7 @@ class WebRtcVideoEngine2 {
const MediaConfig& config,
const VideoOptions& options);
- const std::vector<VideoCodec>& codecs() const;
+ const std::vector<VideoCodec> codecs() const;
RtpCapabilities GetCapabilities() const;
// Set a WebRtcVideoDecoderFactory for external decoding. Video engine does
@@ -119,8 +119,6 @@ class WebRtcVideoEngine2 {
WebRtcVideoEncoderFactory* encoder_factory);
private:
- std::vector<VideoCodec> video_codecs_;
-
bool initialized_;
WebRtcVideoDecoderFactory* external_decoder_factory_;

Powered by Google App Engine
This is Rietveld 408576698