Commit 9582489a authored by Sylvain Berfini's avatar Sylvain Berfini
Browse files

Fix android compilation

parent 9bb6ac52
...@@ -2507,20 +2507,24 @@ void linphone_call_zoom_video(LinphoneCall* call, float zoom_factor, float* cx, ...@@ -2507,20 +2507,24 @@ void linphone_call_zoom_video(LinphoneCall* call, float zoom_factor, float* cx,
} }
MSVideoSize linphone_call_get_sent_video_size(const LinphoneCall *call) { MSVideoSize linphone_call_get_sent_video_size(const LinphoneCall *call) {
VideoStream *vstream = call->videostream;
MSVideoSize vsize = MS_VIDEO_SIZE_UNKNOWN; MSVideoSize vsize = MS_VIDEO_SIZE_UNKNOWN;
#ifdef VIDEO_ENABLED
VideoStream *vstream = call->videostream;
if (vstream != NULL) { if (vstream != NULL) {
vsize = video_stream_get_sent_video_size(vstream); vsize = video_stream_get_sent_video_size(vstream);
} }
#endif
return vsize; return vsize;
} }
MSVideoSize linphone_call_get_received_video_size(const LinphoneCall *call) { MSVideoSize linphone_call_get_received_video_size(const LinphoneCall *call) {
VideoStream *vstream = call->videostream;
MSVideoSize vsize = MS_VIDEO_SIZE_UNKNOWN; MSVideoSize vsize = MS_VIDEO_SIZE_UNKNOWN;
#ifdef VIDEO_ENABLED
VideoStream *vstream = call->videostream;
if (vstream != NULL) { if (vstream != NULL) {
vsize = video_stream_get_received_video_size(vstream); vsize = video_stream_get_received_video_size(vstream);
} }
#endif
return vsize; return 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