Bug 1043808: remove assertions that video is an even number of pixels r=pkerr a=sylvestre
authorRandell Jesup <rjesup@jesup.org>
Wed, 30 Jul 2014 17:35:12 -0400
changeset 217433 d08b3b54c0f5d0c99fb2c28d75a63e7987d556cd
parent 217432 b13ba3879b2eb3c11e73173c3cfa55a704a21807
child 217434 62a14ece9ea860f023cf672acbc67a1ea2096bfa
push id515
push userraliiev@mozilla.com
push dateMon, 06 Oct 2014 12:51:51 +0000
treeherdermozilla-release@267c7a481bef [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerspkerr, sylvestre
bugs1043808
milestone33.0a2
Bug 1043808: remove assertions that video is an even number of pixels r=pkerr a=sylvestre
media/webrtc/signaling/src/media-conduit/VideoConduit.cpp
--- a/media/webrtc/signaling/src/media-conduit/VideoConduit.cpp
+++ b/media/webrtc/signaling/src/media-conduit/VideoConduit.cpp
@@ -1066,20 +1066,16 @@ WebrtcVideoConduit::SendVideoFrame(unsig
   }
   //Transmission should be enabled before we insert any frames.
   if(!mEngineTransmitting)
   {
     CSFLogError(logTag, "%s Engine not transmitting ", __FUNCTION__);
     return kMediaConduitSessionNotInited;
   }
 
-  // enforce even width/height (paranoia)
-  MOZ_ASSERT(!(width & 1));
-  MOZ_ASSERT(!(height & 1));
-
   if (!SelectSendResolution(width, height))
   {
     return kMediaConduitCaptureError;
   }
 
   //insert the frame to video engine in I420 format only
   MOZ_ASSERT(mPtrExtCapture);
   if(mPtrExtCapture->IncomingFrame(video_frame,