Bug 1123054: Don't check VDA reference count. r=rillian a=sledru
authorJean-Yves Avenard <jyavenard@mozilla.com>
Mon, 19 Jan 2015 01:10:51 +1100
changeset 249358 f10730d7411a2885c9485d1ca9c3d90433b8e985
parent 249357 ea252b321bec1359ef4d4d501d1c2b9fbda33a45
child 249359 8a791f4dacabfee9d1e5f32f22e802aade0745a8
push id4489
push userraliiev@mozilla.com
push dateMon, 23 Feb 2015 15:17:55 +0000
treeherdermozilla-beta@fd7c3dc24146 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersrillian, sledru
bugs1123054
milestone37.0a2
Bug 1123054: Don't check VDA reference count. r=rillian a=sledru
dom/media/fmp4/apple/AppleVDADecoder.cpp
--- a/dom/media/fmp4/apple/AppleVDADecoder.cpp
+++ b/dom/media/fmp4/apple/AppleVDADecoder.cpp
@@ -351,20 +351,16 @@ AppleVDADecoder::SubmitFrame(mp4_demuxer
                        &kCFTypeDictionaryKeyCallBacks,
                        &kCFTypeDictionaryValueCallBacks);
 
   OSStatus rv = VDADecoderDecode(mDecoder,
                                  0,
                                  block,
                                  frameInfo);
 
-  LOG("[%s]: FrameInfo retain count = %ld",
-      __func__, CFGetRetainCount(frameInfo));
-  MOZ_ASSERT(CFGetRetainCount(frameInfo) >= 2, "Bad retain count");
-
   if (rv != noErr) {
     NS_WARNING("AppleVDADecoder: Couldn't pass frame to decoder");
     return NS_ERROR_FAILURE;
   }
 
   if (mIs106) {
     // TN2267:
     // frameInfo: A CFDictionaryRef containing information to be returned in