video is flickering
Closed this issue · 1 comments
its-yuu commented
even i try to use 240p at 60 and 30 frames its still flickering in android phone. i tried 480p and 720p also.
i've followed the code given in gdx-video repository and here is my code in render
videoPlayer.update();
videoPlayerTexture = videoPlayer.getTexture();
if(videoPlayerTexture != null)
batch.draw(videoPlayerTexture,0,0,Gdx.graphics.getWidth(), Gdx.graphics.getHeight();
thanks in advanced.
//edit
somehow i run it smoothly but when i use Screen Interface 'setScreen()' its start flickering
its-yuu commented
i managed to find the bug in my code and fix it. its okay now.