Commit 48cab8db authored by Thomas Guillem's avatar Thomas Guillem

Awindow: No SurfaceTextureThread before Android JB

parent 065afc4b
......@@ -206,7 +206,8 @@ public class AWindow implements IVLCVout {
private int mMouseAction = -1, mMouseButton = -1, mMouseX = -1, mMouseY = -1;
private int mWindowWidth = -1, mWindowHeight = -1;
private SurfaceTextureThread mSurfaceTextureThread = new SurfaceTextureThread();
private SurfaceTextureThread mSurfaceTextureThread = AndroidUtil.isJellyBeanOrLater ?
new SurfaceTextureThread() : null;
/**
* Create an AWindow
......
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