From e02eee1a408656be9beaf1b0ba656dd1ee103799 Mon Sep 17 00:00:00 2001 From: Chih-Chung Chang Date: Fri, 2 Sep 2011 16:10:12 +0800 Subject: [PATCH] Fix 5240036: We didn't handle the 1920x1080 resolution. Change-Id: Id48c7db085bb73625acad365e0a036c8e45567dc --- libvideoeditor/vss/src/M4VSS3GPP_Edit.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/libvideoeditor/vss/src/M4VSS3GPP_Edit.c b/libvideoeditor/vss/src/M4VSS3GPP_Edit.c index 9ac15a9e0a..b764fef33d 100755 --- a/libvideoeditor/vss/src/M4VSS3GPP_Edit.c +++ b/libvideoeditor/vss/src/M4VSS3GPP_Edit.c @@ -940,8 +940,14 @@ M4OSA_ERR M4VSS3GPP_editOpen( M4VSS3GPP_EditContext pContext, pC->ewc.uiVideoWidth = 960; pC->ewc.uiVideoHeight = 720; break; + case M4VIDEOEDITING_k1920_1080: + pC->ewc.uiVideoWidth = 1920; + pC->ewc.uiVideoHeight = 1088; // need to be multiples of 16 + break; default: /* If output video size is not given, we take QCIF size */ + M4OSA_TRACE1_0( + "M4VSS3GPP_editOpen: no output video size given, default to QCIF!"); pC->ewc.uiVideoWidth = 176; pC->ewc.uiVideoHeight = 144; pC->xVSS.outputVideoSize = M4VIDEOEDITING_kQCIF; -- 2.11.0