[Android] VideoPlayerActivity: blacklist more TS formats for hardware decoding

Adrien Maglo git at videolan.org
Mon Jun 16 10:07:44 CEST 2014


vlc-ports/android | branch: master | Adrien Maglo <magsoft at videolan.org> | Mon Jun 16 10:05:52 2014 +0200| [268046be2bd80b512e86db25fb2c4f08c63a38c8] | committer: Adrien Maglo

VideoPlayerActivity: blacklist more TS formats for hardware decoding

> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=268046be2bd80b512e86db25fb2c4f08c63a38c8
---

 vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java |    1 +
 1 file changed, 1 insertion(+)

diff --git a/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java b/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
index 9564a5e..8869350 100644
--- a/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
+++ b/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
@@ -1877,6 +1877,7 @@ public class VideoPlayerActivity extends Activity implements IVideoPlayer {
             if (locationLC.endsWith(".ts")
                 || locationLC.endsWith(".tts")
                 || locationLC.endsWith(".m2t")
+                || locationLC.endsWith(".mts")
                 || locationLC.endsWith(".m2ts")) {
                 mDisabledHardwareAcceleration = true;
                 mPreviousHardwareAccelerationMode = mLibVLC.getHardwareAcceleration();



More information about the Android mailing list