[Android] [PATCH 1/3] fix JNI missing "eventHardwareAccelerationError"

Thomas Guillem tom at gllm.fr
Tue Oct 21 17:11:17 CEST 2014


close #12402
---
 vlc-android/src/org/videolan/libvlc/IVideoPlayer.java | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/vlc-android/src/org/videolan/libvlc/IVideoPlayer.java b/vlc-android/src/org/videolan/libvlc/IVideoPlayer.java
index c714b5b..6d7f53d 100644
--- a/vlc-android/src/org/videolan/libvlc/IVideoPlayer.java
+++ b/vlc-android/src/org/videolan/libvlc/IVideoPlayer.java
@@ -31,4 +31,9 @@ public interface IVideoPlayer {
      * @param sar_den Surface aspect ratio denominator
      */
     void setSurfaceSize(int width, int height, int visible_width, int visible_height, int sar_num, int sar_den);
+
+    /**
+     * Called in case of hardware acceleration error
+     */
+    public void eventHardwareAccelerationError();
 }
-- 
2.1.0



More information about the Android mailing list