Created
May 11, 2016 22:17
-
-
Save jeeb/e16eb555b7d8f02f0ad442abbfa2d638 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/app/src/main/jni/main.cpp b/app/src/main/jni/main.cpp | |
index 7f536f0..d1d3ffe 100644 | |
--- a/app/src/main/jni/main.cpp | |
+++ b/app/src/main/jni/main.cpp | |
@@ -100,6 +100,8 @@ jni_func(void, create) { | |
mpv = mpv_create(); | |
if (!mpv) | |
die("context init failed"); | |
+ | |
+ mpv_request_log_messages(mpv, "v"); | |
} | |
jni_func(void, init) { | |
@@ -108,8 +110,6 @@ jni_func(void, init) { | |
if (mpv_initialize(mpv) < 0) | |
die("mpv init failed"); | |
- | |
- mpv_request_log_messages(mpv, "v"); | |
} | |
jni_func(void, destroy) { |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment