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 |