[Android] VideoPlayerActivity: hide subtitle surface when transitioning to SW decoding
Felix Abecassis
git at videolan.org
Tue Mar 4 18:27:43 CET 2014
vlc-ports/android | branch: master | Felix Abecassis <felix.abecassis at gmail.com> | Tue Mar 4 18:26:31 2014 +0100| [75e6bc61eee8a3d83cb9a1552e90f41a11b848eb] | committer: Felix Abecassis
VideoPlayerActivity: hide subtitle surface when transitioning to SW decoding
> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=75e6bc61eee8a3d83cb9a1552e90f41a11b848eb
---
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 305b3a8..5da0e05 100644
--- a/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
+++ b/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
@@ -895,6 +895,7 @@ public class VideoPlayerActivity extends Activity implements IVideoPlayer {
mDisabledHardwareAcceleration = true;
mPreviousHardwareAccelerationMode = mLibVLC.getHardwareAcceleration();
mLibVLC.setHardwareAcceleration(LibVLC.HW_ACCELERATION_DISABLED);
+ mSubtitlesSurface.setVisibility(View.INVISIBLE);
load();
}
})
More information about the Android
mailing list