[Android] PreferencesFragment: don't restart libvlc on hwaccel change
Thomas Guillem
git at videolan.org
Wed Dec 21 16:54:25 CET 2016
vlc-android | branch: master | Thomas Guillem <thomas at gllm.fr> | Wed Dec 21 16:54:19 2016 +0100| [3bcc7c8429efeeb6354a407262c4f229730c5a9c] | committer: Thomas Guillem
PreferencesFragment: don't restart libvlc on hwaccel change
> https://code.videolan.org/videolan/vlc-android/commit/3bcc7c8429efeeb6354a407262c4f229730c5a9c
---
.../src/org/videolan/vlc/gui/preferences/PreferencesFragment.java | 1 -
1 file changed, 1 deletion(-)
diff --git a/vlc-android/src/org/videolan/vlc/gui/preferences/PreferencesFragment.java b/vlc-android/src/org/videolan/vlc/gui/preferences/PreferencesFragment.java
index 50ed867..ab077b8 100644
--- a/vlc-android/src/org/videolan/vlc/gui/preferences/PreferencesFragment.java
+++ b/vlc-android/src/org/videolan/vlc/gui/preferences/PreferencesFragment.java
@@ -63,7 +63,6 @@ public class PreferencesFragment extends BasePreferenceFragment implements Share
@Override
public void onSharedPreferenceChanged(SharedPreferences sharedPreferences, String key) {
if(key.equalsIgnoreCase("hardware_acceleration")) {
- VLCInstance.restart();
if (getActivity() != null )
((PreferencesActivity)getActivity()).restartMediaPlayer();
}
More information about the Android
mailing list