Commit ae30fa84 authored by Felix Abecassis's avatar Felix Abecassis

VideoPlayerActivity: use symbolic constant when setting Hardware Acceleration

parent 8df64476
......@@ -889,7 +889,7 @@ public class VideoPlayerActivity extends Activity implements IVideoPlayer {
public void onClick(DialogInterface dialog, int id) {
mDisabledHardwareAcceleration = true;
mPreviousHardwareAccelerationMode = mLibVLC.getHardwareAcceleration();
mLibVLC.setHardwareAcceleration(0);
mLibVLC.setHardwareAcceleration(LibVLC.HW_ACCELERATION_DISABLED);
load();
}
})
......
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