[Android] Cancel audio/spu delay on long press

Geoffrey Métais git at videolan.org
Tue Jan 5 15:51:17 CET 2016


vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Tue Jan  5 15:42:22 2016 +0100| [f1ae4eb75ed5a526c057191a80b0244b89c43037] | committer: Geoffrey Métais

Cancel audio/spu delay on long press

> https://code.videolan.org/videolan/vlc-android/commit/f1ae4eb75ed5a526c057191a80b0244b89c43037
---

 .../src/org/videolan/vlc/gui/dialogs/AdvOptionsDialog.java        | 8 ++++++++
 1 file changed, 8 insertions(+)

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 c8c536d..5b6067a 100644
--- a/vlc-android/src/org/videolan/vlc/gui/dialogs/AdvOptionsDialog.java
+++ b/vlc-android/src/org/videolan/vlc/gui/dialogs/AdvOptionsDialog.java
@@ -388,6 +388,14 @@ public class AdvOptionsDialog extends DialogFragment implements View.OnClickList
                 mService.setRate(1);
                 initPlaybackSpeed();
                 return true;
+            case ID_SPU_DELAY:
+                mService.setSpuDelay(0l);
+                initSpuDelay();
+                return true;
+            case ID_AUDIO_DELAY:
+                mService.setAudioDelay(0l);
+                initAudioDelay();
+                return true;
         }
         return false;
     }



More information about the Android mailing list