mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-02-07 14:18:25 +00:00
fix compilation bug with video disabled
This commit is contained in:
parent
5de380f508
commit
0ec655d063
1 changed files with 1 additions and 1 deletions
|
|
@ -3018,9 +3018,9 @@ bool_t linphone_core_video_preview_enabled(const LinphoneCore *lc){
|
|||
* This function works at any time, including during calls.
|
||||
**/
|
||||
void linphone_core_enable_self_view(LinphoneCore *lc, bool_t val){
|
||||
#ifdef VIDEO_ENABLED
|
||||
LinphoneCall *call=linphone_core_get_current_call (lc);
|
||||
lc->video_conf.selfview=val;
|
||||
#ifdef VIDEO_ENABLED
|
||||
if (call && call->videostream){
|
||||
video_stream_enable_self_view(call->videostream,val);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue