diff --git a/build/android/common.mk b/build/android/common.mk index f5dba448c..ee4832ea1 100644 --- a/build/android/common.mk +++ b/build/android/common.mk @@ -75,7 +75,7 @@ LOCAL_CFLAGS += \ LOCAL_CFLAGS += -DIN_LINPHONE ifeq ($(_BUILD_VIDEO),1) -LOCAL_CFLAGS += -DVIDEO_ENABLED -DENABLE_HD +LOCAL_CFLAGS += -DVIDEO_ENABLED ifeq ($(BUILD_X264),1) LOCAL_CFLAGS += -DHAVE_X264 endif diff --git a/coreapi/linphonecore.c b/coreapi/linphonecore.c index 920336858..97f063b00 100644 --- a/coreapi/linphonecore.c +++ b/coreapi/linphonecore.c @@ -5063,13 +5063,11 @@ int linphone_core_get_camera_sensor_rotation(LinphoneCore *lc) { } static MSVideoSizeDef supported_resolutions[]={ -#ifdef ENABLE_HD { { MS_VIDEO_SIZE_1080P_W,MS_VIDEO_SIZE_1080P_H } , "1080p" }, { { MS_VIDEO_SIZE_720P_W,MS_VIDEO_SIZE_720P_H } , "720p" }, { { MS_VIDEO_SIZE_UXGA_W, MS_VIDEO_SIZE_UXGA_H } , "uxga" }, { { MS_VIDEO_SIZE_SXGA_MINUS_W, MS_VIDEO_SIZE_SXGA_MINUS_H } , "sxga-" }, { { MS_VIDEO_SIZE_XGA_W, MS_VIDEO_SIZE_XGA_H } , "xga" }, -#endif { {MS_VIDEO_SIZE_SVGA_W,MS_VIDEO_SIZE_SVGA_H} , "svga" }, { {MS_VIDEO_SIZE_4CIF_W,MS_VIDEO_SIZE_4CIF_H} , "4cif" }, { {MS_VIDEO_SIZE_VGA_W,MS_VIDEO_SIZE_VGA_H} , "vga" },