Discard the alpha channel of the surface since it's not used. Always use MED_PERF for the AvcDecoder configuration because it now works well enough on Tegra 3 that the image quality improvements are worth it.

This commit is contained in:
Cameron Gutman committed 2013-11-21 08:45:25 -05:00
1 parent 45664dac2a
commit ab9b7b5164
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -59,7 +59,7 @@ public class Game extends Activity implements OnGenericMotionListener, OnTouchLi
sv.setOnTouchListener(this);
SurfaceHolder sh = sv.getHolder();
sh.setFixedSize(1280, 720);
sh.setFormat(PixelFormat.RGBA_8888);
sh.setFormat(PixelFormat.RGBX_8888);
// Start the connection
conn = new NvConnection(Game.this.getIntent().getStringExtra("host"), Game.this, sv.getHolder().getSurface());