mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-10 19:31:12 +00:00
Merge branch 'master' of ssh://git.freedesktop.org/git/gstreamer-sdk/gst-sdk-tutorials
This commit is contained in:
commit
4c6be2c93e
1 changed files with 4 additions and 1 deletions
|
@ -7,7 +7,10 @@
|
||||||
* Java Bindings
|
* Java Bindings
|
||||||
*/
|
*/
|
||||||
jstring gst_native_get_gstreamer_info (JNIEnv* env, jobject thiz) {
|
jstring gst_native_get_gstreamer_info (JNIEnv* env, jobject thiz) {
|
||||||
return (*env)->NewStringUTF(env, gst_version_string());
|
char *version_utf8 = gst_version_string();
|
||||||
|
jstring *version_jstring = (*env)->NewStringUTF(env, version_utf8);
|
||||||
|
g_free (version_utf8);
|
||||||
|
return version_jstring;
|
||||||
}
|
}
|
||||||
|
|
||||||
static JNINativeMethod native_methods[] = {
|
static JNINativeMethod native_methods[] = {
|
||||||
|
|
Loading…
Reference in a new issue