summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2016-01-07 00:22:26 +0200
committerSebastian Dröge <sebastian@centricular.com>2016-01-07 00:22:26 +0200
commita1d371f34fb7ff317c1fbff780206530ffab6290 (patch)
tree0c216506f4c85deeaab1c3ba43c3ed58bbee71eb
parent780b739034b4f08b46347f6bc906dce0027d2b47 (diff)
android: Register native_stop() with JNI
https://github.com/sdroege/gst-player/issues/143
-rw-r--r--android/jni/player.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/android/jni/player.c b/android/jni/player.c
index ed72e86..58d177e 100644
--- a/android/jni/player.c
+++ b/android/jni/player.c
@@ -450,6 +450,7 @@ static JNINativeMethod native_methods[] = {
{"nativeNew", "()V", (void *) native_new},
{"nativePlay", "()V", (void *) native_play},
{"nativePause", "()V", (void *) native_pause},
+ {"nativeStop", "()V", (void *) native_stop},
{"nativeSeek", "(J)V", (void *) native_seek},
{"nativeFree", "()V", (void *) native_free},
{"nativeGetUri", "()Ljava/lang/String;", (void *) native_get_uri},