Commit 3f84f2ff authored by Ghislain MARY's avatar Ghislain MARY
Browse files

Fix compilation.

parent 6d7273da
...@@ -360,6 +360,7 @@ static MSVideoSize get_compatible_size(MSVideoSize maxsize, MSVideoSize wished_s ...@@ -360,6 +360,7 @@ static MSVideoSize get_compatible_size(MSVideoSize maxsize, MSVideoSize wished_s
return wished_size; return wished_size;
} }
#if !TARGET_IPHONE_SIMULATOR && !defined(__arm__)
static MSVideoSize get_with_same_orientation_and_ratio(MSVideoSize size, MSVideoSize refsize){ 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)){ if (ms_video_size_get_orientation(refsize)!=ms_video_size_get_orientation(size)){
int tmp; int tmp;
...@@ -370,6 +371,7 @@ static MSVideoSize get_with_same_orientation_and_ratio(MSVideoSize size, MSVideo ...@@ -370,6 +371,7 @@ static MSVideoSize get_with_same_orientation_and_ratio(MSVideoSize size, MSVideo
size.height=(size.width*refsize.height)/refsize.width; size.height=(size.width*refsize.height)/refsize.width;
return size; return size;
} }
#endif
static void configure_video_source(VideoStream *stream){ static void configure_video_source(VideoStream *stream){
MSVideoSize vsize,cam_vsize; MSVideoSize vsize,cam_vsize;
......
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