LibVLC Hardware Acceleration on Galaxy Tab 3 4.4.2
Posted: 03 Nov 2014 10:38
Hello,
I am using LibVLC and I have a problem on a Galaxy Tab 3 10.1" (the x86 one) using Android 4.4.2 (the problem didn't occur on Android 4.3) when using Hardware Acceleration.
Everything works fine when disabling Hardware Acceleration (note: Dev Hardware Acceleration is always left to Automatic). When using Automatic Hardware Acceleration (which puts it to Full), the screen is mostly green with some lines on the upper-left corner, on some apps:
- VLC main application works fine
- the LibVLC Android Sample (https://bitbucket.org/edwardcw/libvlc-android-sample) have the problem.
- my app have the problem.
The offending line is:
Switch it to
and everything works fine.
Did I miss something when using LibVLC?
Additional note: on the 3 apps, EventHandler.HardwareAccelerationError is never fired.
I am using LibVLC and I have a problem on a Galaxy Tab 3 10.1" (the x86 one) using Android 4.4.2 (the problem didn't occur on Android 4.3) when using Hardware Acceleration.
Everything works fine when disabling Hardware Acceleration (note: Dev Hardware Acceleration is always left to Automatic). When using Automatic Hardware Acceleration (which puts it to Full), the screen is mostly green with some lines on the upper-left corner, on some apps:
- VLC main application works fine
- the LibVLC Android Sample (https://bitbucket.org/edwardcw/libvlc-android-sample) have the problem.
- my app have the problem.
The offending line is:
Code: Select all
vlc.setHardwareAcceleration(LibVLC.HW_ACCELERATION_AUTOMATIC);
Code: Select all
vlc.setHardwareAcceleration(LibVLC.HW_ACCELERATION_DISABLED);
Did I miss something when using LibVLC?
Additional note: on the 3 apps, EventHandler.HardwareAccelerationError is never fired.