[Android] libVLC: set AWindow* public
Thomas Guillem
git at videolan.org
Tue Oct 13 09:23:03 CEST 2015
vlc-ports/android | branch: master | Thomas Guillem <thomas at gllm.fr> | Tue Oct 13 09:22:59 2015 +0200| [c65f717710ad1463bc6f9b897b7d8110b3cecf96] | committer: Thomas Guillem
libVLC: set AWindow* public
It permits to use native libvlc without using the Java one
> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=c65f717710ad1463bc6f9b897b7d8110b3cecf96
---
libvlc/src/org/videolan/libvlc/AWindow.java | 4 ++--
libvlc/src/org/videolan/libvlc/IAWindowNativeHandler.java | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/libvlc/src/org/videolan/libvlc/AWindow.java b/libvlc/src/org/videolan/libvlc/AWindow.java
index 00f5953..b8f9678 100644
--- a/libvlc/src/org/videolan/libvlc/AWindow.java
+++ b/libvlc/src/org/videolan/libvlc/AWindow.java
@@ -37,14 +37,14 @@ import org.videolan.libvlc.util.AndroidUtil;
import java.util.ArrayList;
import java.util.concurrent.atomic.AtomicInteger;
-class AWindow implements IAWindowNativeHandler, IVLCVout {
+public class AWindow implements IAWindowNativeHandler, IVLCVout {
private static final String TAG = "AWindow";
private static final int ID_VIDEO = 0;
private static final int ID_SUBTITLES = 1;
private static final int ID_MAX = 2;
- protected interface SurfaceCallback {
+ public interface SurfaceCallback {
@MainThread
void onSurfacesCreated(AWindow vout);
@MainThread
diff --git a/libvlc/src/org/videolan/libvlc/IAWindowNativeHandler.java b/libvlc/src/org/videolan/libvlc/IAWindowNativeHandler.java
index 51c25ee..15a765a 100644
--- a/libvlc/src/org/videolan/libvlc/IAWindowNativeHandler.java
+++ b/libvlc/src/org/videolan/libvlc/IAWindowNativeHandler.java
@@ -22,7 +22,7 @@ package org.videolan.libvlc;
import android.view.Surface;
-interface IAWindowNativeHandler {
+public interface IAWindowNativeHandler {
/**
* Callback called from {@link IVLCVout#sendMouseEvent}.
*
More information about the Android
mailing list