From df9870190ac9ee135660552138525e2fa49896d8 Mon Sep 17 00:00:00 2001 From: Simon Morlat Date: Thu, 3 Feb 2011 15:06:50 +0100 Subject: [PATCH] optional support for 2 HD formats (untested) --- coreapi/linphonecore.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/coreapi/linphonecore.c b/coreapi/linphonecore.c index ef86bccbe..7afdf85fa 100644 --- a/coreapi/linphonecore.c +++ b/coreapi/linphonecore.c @@ -3401,6 +3401,10 @@ void linphone_core_use_preview_window(LinphoneCore *lc, bool_t yesno){ } 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} , "1080p" }, +#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" },