Commit 288e70a0 authored by Philippe Morin's avatar Philippe Morin

Add a method to set playlist in loop mode in Java

parent 822485d5
...@@ -176,3 +176,14 @@ JNIEXPORT jint JNICALL Java_org_videolan_jvlc_Playlist__1isRunning (JNIEnv *env, ...@@ -176,3 +176,14 @@ JNIEXPORT jint JNICALL Java_org_videolan_jvlc_Playlist__1isRunning (JNIEnv *env,
return res; return res;
} }
JNIEXPORT void JNICALL Java_org_videolan_jvlc_Playlist__1setLoop
(JNIEnv *env, jobject _this, jboolean loop)
{
INIT_FUNCTION ;
libvlc_playlist_loop( (libvlc_instance_t*) instance, loop, exception );
CHECK_EXCEPTION_FREE ;
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment