Commit a4d83a0a authored by Benjamin REIS's avatar Benjamin REIS
Browse files

replace __ARM__ by MS_HAS_ARM in videostream

parent f6e7a376
......@@ -438,7 +438,7 @@ static MSVideoSize get_compatible_size(MSVideoSize maxsize, MSVideoSize wished_s
return wished_size;
#if !TARGET_IPHONE_SIMULATOR && !defined(__arm__)
static MSVideoSize get_with_same_orientation_and_ratio(MSVideoSize size, MSVideoSize refsize){
if (ms_video_size_get_orientation(refsize)!=ms_video_size_get_orientation(size)){
int tmp;
......@@ -501,7 +501,7 @@ static void configure_video_source(VideoStream *stream){
ms_message("Output video size adjusted to match camera resolution (%ix%i)",vsize.width,vsize.height);
} else {
#if TARGET_IPHONE_SIMULATOR || defined(__arm__) || defined(_M_ARM) || defined(MS2_WINDOWS_UNIVERSAL)
ms_error("Camera is proposing a size bigger than encoder's suggested size (%ix%i > %ix%i) "
"Using the camera size as fallback because cropping or resizing is not implemented for this device.",
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment