Bug 1414628 - ConfigureCodec: Remove private field 'mHardwareH264Enabled' r=dminor
authorSylvestre Ledru <sledru@mozilla.com>
Sun, 05 Nov 2017 16:56:19 +0100
changeset 390317 941d89fceb182f586ff18260c995a460a263f630
parent 390316 d45a801da041f29451d16646465587b4d9d0887f
child 390318 263fbdbfba966c3dfb36e90d03c1b40ea331f374
push id32827
push userccoroiu@mozilla.com
push dateMon, 06 Nov 2017 23:02:00 +0000
treeherdermozilla-central@62aeebcc676e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdminor
bugs1414628
milestone58.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1414628 - ConfigureCodec: Remove private field 'mHardwareH264Enabled' r=dminor MozReview-Commit-ID: 83U02hqgW6d
media/webrtc/signaling/src/peerconnection/PeerConnectionImpl.cpp
--- a/media/webrtc/signaling/src/peerconnection/PeerConnectionImpl.cpp
+++ b/media/webrtc/signaling/src/peerconnection/PeerConnectionImpl.cpp
@@ -824,17 +824,16 @@ class CompareCodecPriority {
 
   private:
     std::string mPreferredCodec;
 };
 
 class ConfigureCodec {
   public:
     explicit ConfigureCodec(nsCOMPtr<nsIPrefBranch>& branch) :
-      mHardwareH264Enabled(false),
       mHardwareH264Supported(false),
       mSoftwareH264Enabled(false),
       mH264Enabled(false),
       mVP9Enabled(true),
       mVP9Preferred(false),
       mH264Level(13), // minimum suggested for WebRTC spec
       mH264MaxBr(0), // Unlimited
       mH264MaxMbps(0), // Unlimited
@@ -958,17 +957,16 @@ class ConfigureCodec {
         case SdpMediaSection::kText:
         case SdpMediaSection::kApplication:
         case SdpMediaSection::kMessage:
           {} // Nothing to configure for these.
       }
     }
 
   private:
-    bool mHardwareH264Enabled;
     bool mHardwareH264Supported;
     bool mSoftwareH264Enabled;
     bool mH264Enabled;
     bool mVP9Enabled;
     bool mVP9Preferred;
     int32_t mH264Level;
     int32_t mH264MaxBr;
     int32_t mH264MaxMbps;