[libbluray-devel] selectTitleN: select real title, not playlist

hpi1 git at videolan.org
Fri Sep 14 14:46:07 CEST 2012


libbluray | branch: master | hpi1 <hpi1 at anonymous.org> | Fri Sep 14 11:26:15 2012 +0300| [a07a94d92e23e669530629e44a208ab2ebbe613c] | committer: hpi1

selectTitleN: select real title, not playlist

> http://git.videolan.org/gitweb.cgi/libbluray.git/?a=commit;h=a07a94d92e23e669530629e44a208ab2ebbe613c
---

 src/libbluray/bdj/native/org_videolan_Libbluray.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/libbluray/bdj/native/org_videolan_Libbluray.c b/src/libbluray/bdj/native/org_videolan_Libbluray.c
index 62752d8..8097e11 100644
--- a/src/libbluray/bdj/native/org_videolan_Libbluray.c
+++ b/src/libbluray/bdj/native/org_videolan_Libbluray.c
@@ -199,7 +199,7 @@ JNIEXPORT jint JNICALL Java_org_videolan_Libbluray_selectPlaylistN(
 JNIEXPORT jint JNICALL Java_org_videolan_Libbluray_selectTitleN(JNIEnv * env,
         jclass cls, jlong np, jint title) {
     BDJAVA* bdj = (BDJAVA*) np;
-    return bd_select_title(bdj->bd, title);
+    return bd_play_title(bdj->bd, title);
 }
 
 JNIEXPORT jint JNICALL Java_org_videolan_Libbluray_selectAngleN(JNIEnv * env,



More information about the libbluray-devel mailing list