mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-20 04:28:10 +00:00
bugfixes and makefile improvements
This commit is contained in:
parent
e9b5957dc3
commit
d047b7aabd
1 changed files with 3 additions and 2 deletions
|
|
@ -28,8 +28,9 @@ public class AndroidVideoWindowImpl {
|
|||
int width, int height) {
|
||||
synchronized(AndroidVideoWindowImpl.this){
|
||||
mBitmap=Bitmap.createBitmap(width,height,Config.RGB_565);
|
||||
if (mListener!=null) mListener.onSurfaceReady(AndroidVideoWindowImpl.this);
|
||||
mSurface=holder.getSurface();
|
||||
if (mListener!=null) mListener.onSurfaceReady(AndroidVideoWindowImpl.this);
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -38,10 +39,10 @@ public class AndroidVideoWindowImpl {
|
|||
|
||||
public void surfaceDestroyed(SurfaceHolder holder) {
|
||||
synchronized(AndroidVideoWindowImpl.this){
|
||||
mBitmap=null;
|
||||
if (mListener!=null)
|
||||
mListener.onSurfaceDestroyed(AndroidVideoWindowImpl.this);
|
||||
mSurface=null;
|
||||
mBitmap=null;
|
||||
}
|
||||
}
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue