From af0f511f4327bec397679b5090cb211ed9f24178 Mon Sep 17 00:00:00 2001 From: Anthony Jones Date: Wed, 5 Nov 2014 16:18:32 +0800 Subject: [PATCH] Bug 1094049 - Make GonkDecoderModule use currect display height; r=bwu --- dom/media/fmp4/gonk/GonkVideoDecoderManager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dom/media/fmp4/gonk/GonkVideoDecoderManager.cpp b/dom/media/fmp4/gonk/GonkVideoDecoderManager.cpp index 6975f562ec1e..7a83f4f21836 100644 --- a/dom/media/fmp4/gonk/GonkVideoDecoderManager.cpp +++ b/dom/media/fmp4/gonk/GonkVideoDecoderManager.cpp @@ -59,7 +59,7 @@ GonkVideoDecoderManager::GonkVideoDecoderManager( mVideoWidth = aConfig.display_width; mVideoHeight = aConfig.display_height; mDisplayWidth = aConfig.display_width; - mDisplayHeight = aConfig.display_width; + mDisplayHeight = aConfig.display_height; mInfo.mVideo.mHasVideo = true; nsIntSize displaySize(mDisplayWidth, mDisplayHeight); mInfo.mVideo.mDisplay = displaySize;