Commit d4303767 authored by Ghislain MARY's avatar Ghislain MARY

One more fix for window id with X11.

parent 0e4d2550
......@@ -994,7 +994,7 @@ static void lpc_apply_video_params(){
lpc_video_params.refresh=FALSE;
#ifdef HAVE_X11_XLIB_H
if (lpc_video_params.wid==0){ // do not manage window if embedded
x11_apply_video_params(&lpc_video_params,wid);
x11_apply_video_params(&lpc_video_params,(Window)wid);
} else {
linphone_core_show_video(linphonec, lpc_video_params.show);
}
......@@ -1007,7 +1007,7 @@ static void lpc_apply_video_params(){
/*printf("wid=%p pwid=%p\n",wid,pwid);*/
if (lpc_preview_params.wid==NULL){ // do not manage window if embedded
printf("Refreshing\n");
x11_apply_video_params(&lpc_preview_params,pwid);
x11_apply_video_params(&lpc_preview_params,(Window)pwid);
}
#endif
}
......
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