From af5fa952582f1cc12882d49cf3dbb4d5be2b3d2d Mon Sep 17 00:00:00 2001 From: "buildbot@webrtc.org" Date: Fri, 5 Sep 2014 13:03:50 +0000 Subject: [PATCH] (Auto)update libjingle 74857067-> 74860820 git-svn-id: http://webrtc.googlecode.com/svn/trunk@7084 4adac7df-926f-26a2-2b94-8c16560cd09d --- talk/media/webrtc/webrtcvideoengine.cc | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/talk/media/webrtc/webrtcvideoengine.cc b/talk/media/webrtc/webrtcvideoengine.cc index 63889ebe4..b88ecf11c 100644 --- a/talk/media/webrtc/webrtcvideoengine.cc +++ b/talk/media/webrtc/webrtcvideoengine.cc @@ -64,6 +64,21 @@ #include "webrtc/experiments.h" #include "webrtc/modules/remote_bitrate_estimator/include/remote_bitrate_estimator.h" +namespace { + +template +bool Changed(cricket::Settable proposed, + cricket::Settable original) { + return proposed.IsSet() && proposed != original; +} + +template +bool Changed(cricket::Settable proposed, + cricket::Settable original, + T* value) { + return proposed.Get(value) && proposed != original; +} +} // namespace namespace cricket {