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

Unified Diff: webrtc/sdk/objc/Framework/Classes/videotoolboxvideocodecfactory.h

Issue 2580963004: Put iOS H264 High profile under a field trial (Closed)
Patch Set: Created 4 years 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/sdk/objc/Framework/Classes/videotoolboxvideocodecfactory.h
diff --git a/webrtc/sdk/objc/Framework/Classes/videotoolboxvideocodecfactory.h b/webrtc/sdk/objc/Framework/Classes/videotoolboxvideocodecfactory.h
index 51007106aebf8272b254c5f396e8c30de7f86b80..8acd9dd533b8c3fdb79659f76456dc03b7927952 100644
--- a/webrtc/sdk/objc/Framework/Classes/videotoolboxvideocodecfactory.h
+++ b/webrtc/sdk/objc/Framework/Classes/videotoolboxvideocodecfactory.h
@@ -28,7 +28,9 @@ class VideoToolboxVideoEncoderFactory
const std::vector<cricket::VideoCodec>& supported_codecs() const override;
private:
- std::vector<cricket::VideoCodec> supported_codecs_;
+ // TODO(magjed): Mutable because it depends on a field trial and it is
+ // recalculated every call to supported_codecs().
+ mutable std::vector<cricket::VideoCodec> supported_codecs_;
};
class VideoToolboxVideoDecoderFactory

Powered by Google App Engine
This is Rietveld 408576698