summaryrefslogtreecommitdiffstats
path: root/libvideoeditor/vss/src/M4xVSS_API.c
diff options
context:
space:
mode:
Diffstat (limited to 'libvideoeditor/vss/src/M4xVSS_API.c')
-rwxr-xr-xlibvideoeditor/vss/src/M4xVSS_API.c15
1 files changed, 9 insertions, 6 deletions
diff --git a/libvideoeditor/vss/src/M4xVSS_API.c b/libvideoeditor/vss/src/M4xVSS_API.c
index 8def0c6..d09b145 100755
--- a/libvideoeditor/vss/src/M4xVSS_API.c
+++ b/libvideoeditor/vss/src/M4xVSS_API.c
@@ -954,24 +954,27 @@ M4OSA_ERR M4xVSS_SendCommand( M4OSA_Context pContext,
height = 480;
break;
- case M4VIDEOEDITING_kHD1280:
+ case M4VIDEOEDITING_k1280_720:
width = 1280;
height = 720;
break;
- case M4VIDEOEDITING_kHD1080:
+ case M4VIDEOEDITING_k1080_720:
// StageFright encoders require %16 resolution
-
- width = M4ENCODER_HD1080_Width;
-
+ width = M4ENCODER_1080_720_Width;
height = 720;
break;
- case M4VIDEOEDITING_kHD960:
+ case M4VIDEOEDITING_k960_720:
width = 960;
height = 720;
break;
+ case M4VIDEOEDITING_k1920_1080:
+ width = 1920;
+ height = M4ENCODER_1920_1080_Height;
+ break;
+
/* -CR Google */
default: /* If output video size is not given, we take QCIF size */
width = 176;