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 242986 a48f8c55a98c
parent 242985 56b7a3953db2
child 242987 cdffc642c9b9
push id4354
push userrgiles@mozilla.com
push date2015-01-22 18:52 +0000
treeherdermozilla-beta@a48f8c55a98c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersrillian, sledru
bugs1123054
milestone36.0
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