mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-19 20:18:09 +00:00
Fixed wrong cast
This commit is contained in:
parent
aa8101f5bf
commit
ec2fd191a8
1 changed files with 1 additions and 1 deletions
|
|
@ -318,7 +318,7 @@ class LinphoneCoreImpl implements LinphoneCore {
|
|||
public void setVideoWindow(Object w) {
|
||||
if (mVideoWindow!=null)
|
||||
mVideoWindow.setListener(null);
|
||||
mVideoWindow=(AndroidVideoWindowImpl)w;
|
||||
mVideoWindow=new AndroidVideoWindowImpl((SurfaceView) w);
|
||||
mVideoWindow.setListener(new AndroidVideoWindowImpl.VideoWindowListener(){
|
||||
public void onSurfaceDestroyed(AndroidVideoWindowImpl vw) {
|
||||
setVideoWindowId(nativePtr,null);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue