From a5691dcc3c5c130646138734b08680fcc635fe59 Mon Sep 17 00:00:00 2001 From: Ryan VanderMeulen Date: Fri, 31 Jan 2014 15:42:31 -0500 Subject: [PATCH] Backed out changeset a6094047ffca (bug 965440) for B2G mochitest crashes. CLOSED TREE --- content/media/MediaDecoderReader.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content/media/MediaDecoderReader.cpp b/content/media/MediaDecoderReader.cpp index 498a2c939e2..be33b9eaad7 100644 --- a/content/media/MediaDecoderReader.cpp +++ b/content/media/MediaDecoderReader.cpp @@ -72,7 +72,7 @@ ValidatePlane(const VideoData::YCbCrBuffer::Plane& aPlane) aPlane.mStride > 0; } -#ifdef MOZ_WIDGET_GONK +#if 0 static bool IsYV12Format(const VideoData::YCbCrBuffer::Plane& aYPlane, const VideoData::YCbCrBuffer::Plane& aCbPlane, @@ -225,7 +225,7 @@ VideoData* VideoData::Create(VideoInfo& aInfo, if (!aImage) { // Currently our decoder only knows how to output to ImageFormat::PLANAR_YCBCR // format. -#ifdef MOZ_WIDGET_GONK +#if 0 if (IsYV12Format(Y, Cb, Cr)) { v->mImage = aContainer->CreateImage(ImageFormat::GRALLOC_PLANAR_YCBCR); }