[Android] fix JNI missing "eventHardwareAccelerationError"
Thomas Guillem
git at videolan.org
Tue Oct 21 17:44:12 CEST 2014
vlc-ports/android | branch: master | Thomas Guillem <tom at gllm.fr> | Tue Oct 21 17:11:17 2014 +0200| [4967f411ce30bc36e9b93f5a69b371a3ba25f98f] | committer: Jean-Baptiste Kempf
fix JNI missing "eventHardwareAccelerationError"
close #12402
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=4967f411ce30bc36e9b93f5a69b371a3ba25f98f
---
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();
}
More information about the Android
mailing list