Commit d92c1a1b authored by Thomas Guillem's avatar Thomas Guillem

VideoPlayer: don't call setWindowSize if using compat surfaces

parent d11bdeb9
......@@ -1376,7 +1376,7 @@ public class VideoPlayerActivity extends ActionBarActivity implements IVideoPlay
sw = mPresentation.getWindow().getDecorView().getWidth();
sh = mPresentation.getWindow().getDecorView().getHeight();
if (mLibVLC != null)
if (mLibVLC != null && !mLibVLC.useCompatSurface())
mLibVLC.setWindowSize(sw, sh);
double dw = sw, dh = sh;
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