Chromium Code Reviews| Index: webrtc/media/base/codec.h | 
| diff --git a/webrtc/media/base/codec.h b/webrtc/media/base/codec.h | 
| index bfbff23c9416e336a303d90c2d11b60b943e3f05..adbdd660dc2b478e2c51dd74f72ee7822fd2029c 100644 | 
| --- a/webrtc/media/base/codec.h | 
| +++ b/webrtc/media/base/codec.h | 
| @@ -154,6 +154,10 @@ struct VideoCodec : public Codec { | 
| VideoCodec(VideoCodec&& c); | 
| virtual ~VideoCodec() = default; | 
| + // Indicates if this codec is compatible with the specified codec. For H264, | 
| + // the profiles must be the same. H264 levels however are not compared. | 
| 
 
hta-webrtc
2016/11/08 13:59:53
if Codec has a Matches function, shouldn't there b
 
magjed_webrtc
2016/11/08 16:18:26
No, this is overloading, not overriding.
 
 | 
| + bool Matches(const VideoCodec& codec) const; | 
| 
 
hta-webrtc
2016/11/08 13:59:53
This is actually an issue with the concept of "cod
 
magjed_webrtc
2016/11/08 16:18:26
The codec here does not really encompass both an e
 
 | 
| + | 
| std::string ToString() const; | 
| VideoCodec& operator=(const VideoCodec& c); |