Fix #690
This commit is contained in:
parent
6d84f28600
commit
816f6370ef
|
@ -859,6 +859,8 @@ public class PhotoViewer implements ZoomPanView.Listener{
|
|||
|
||||
@Override
|
||||
public void onVideoSizeChanged(MediaPlayer mp, int width, int height){
|
||||
if(width<=0 || height<=0)
|
||||
return;
|
||||
FrameLayout.LayoutParams params=(FrameLayout.LayoutParams) wrap.getLayoutParams();
|
||||
params.width=width;
|
||||
params.height=height;
|
||||
|
|
Loading…
Reference in New Issue