Index: webrtc/api/rtpparameters.h |
diff --git a/webrtc/api/rtpparameters.h b/webrtc/api/rtpparameters.h |
index 729f841ab65c2bb51eeacd02910fbd61b16ef2a4..5c79ab4e9df571f1f4ef7c315c6efc4024bae84c 100644 |
--- a/webrtc/api/rtpparameters.h |
+++ b/webrtc/api/rtpparameters.h |
@@ -25,6 +25,9 @@ struct RtpEncodingParameters { |
bool operator==(const RtpEncodingParameters& o) const { |
return active == o.active && max_bitrate_bps == o.max_bitrate_bps; |
} |
+ bool operator!=(const RtpEncodingParameters& o) const { |
+ return !(*this == o); |
+ } |
}; |
struct RtpCodecParameters { |
@@ -38,6 +41,7 @@ struct RtpCodecParameters { |
return payload_type == o.payload_type && mime_type == o.mime_type && |
clock_rate == o.clock_rate && channels == o.channels; |
} |
+ bool operator!=(const RtpCodecParameters& o) const { return !(*this == o); } |
}; |
struct RtpParameters { |
@@ -47,6 +51,7 @@ struct RtpParameters { |
bool operator==(const RtpParameters& o) const { |
return encodings == o.encodings && codecs == o.codecs; |
} |
+ bool operator!=(const RtpParameters& o) const { return !(*this == o); } |
}; |
} // namespace webrtc |