[Android] AdvOptionsDialog: chapters options only for video

Thomas Guillem git at videolan.org
Thu Jul 2 11:04:14 CEST 2015


vlc-ports/android | branch: master | Thomas Guillem <thomas at gllm.fr> | Thu Jul  2 11:03:58 2015 +0200| [5cbb5817dfaf3533ac49ca150a453d17f4f8657c] | committer: Thomas Guillem

AdvOptionsDialog: chapters options only for video

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

 vlc-android/src/org/videolan/vlc/gui/dialogs/AdvOptionsDialog.java |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/vlc-android/src/org/videolan/vlc/gui/dialogs/AdvOptionsDialog.java b/vlc-android/src/org/videolan/vlc/gui/dialogs/AdvOptionsDialog.java
index 196952c..1981d2e 100644
--- a/vlc-android/src/org/videolan/vlc/gui/dialogs/AdvOptionsDialog.java
+++ b/vlc-android/src/org/videolan/vlc/gui/dialogs/AdvOptionsDialog.java
@@ -431,7 +431,8 @@ public class AdvOptionsDialog extends DialogFragment implements View.OnClickList
     public void onConnected(PlaybackService service) {
         mService = service;
         setRateProgress();
-        initChapterSpinner();
+        if (mMode == MODE_VIDEO)
+            initChapterSpinner();
     }
 
     @Override



More information about the Android mailing list