set video preview window id effective immediately when possible

This commit is contained in:
Simon Morlat 2012-09-17 16:23:22 +02:00
parent 35d223adee
commit 7256d4b28e

View file

@ -4096,6 +4096,8 @@ void linphone_core_set_native_preview_window_id(LinphoneCore *lc, unsigned long
LinphoneCall *call=linphone_core_get_current_call(lc);
if (call!=NULL && call->videostream){
video_stream_set_native_preview_window_id(call->videostream,id);
}else if (lc->previewstream){
video_preview_set_native_window_id(lc->previewstream,id);
}
#endif
}