mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-05-03 20:46:28 +00:00
Fix android compilation
This commit is contained in:
parent
9bb6ac525b
commit
9582489a45
1 changed files with 6 additions and 2 deletions
|
|
@ -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) {
|
||||
VideoStream *vstream = call->videostream;
|
||||
MSVideoSize vsize = MS_VIDEO_SIZE_UNKNOWN;
|
||||
#ifdef VIDEO_ENABLED
|
||||
VideoStream *vstream = call->videostream;
|
||||
if (vstream != NULL) {
|
||||
vsize = video_stream_get_sent_video_size(vstream);
|
||||
}
|
||||
#endif
|
||||
return vsize;
|
||||
}
|
||||
|
||||
MSVideoSize linphone_call_get_received_video_size(const LinphoneCall *call) {
|
||||
VideoStream *vstream = call->videostream;
|
||||
MSVideoSize vsize = MS_VIDEO_SIZE_UNKNOWN;
|
||||
#ifdef VIDEO_ENABLED
|
||||
VideoStream *vstream = call->videostream;
|
||||
if (vstream != NULL) {
|
||||
vsize = video_stream_get_received_video_size(vstream);
|
||||
}
|
||||
#endif
|
||||
return vsize;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue