mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-12 02:15:31 +00:00
dvm: Add new function to check if we started a VM or only used an existing one
This commit is contained in:
parent
e3801c041f
commit
7da19b9bda
2 changed files with 7 additions and 0 deletions
|
@ -157,3 +157,9 @@ create_failed:
|
|||
return FALSE;
|
||||
}
|
||||
}
|
||||
|
||||
gboolean
|
||||
gst_dvm_is_own_vm (void)
|
||||
{
|
||||
return started_java_vm;
|
||||
}
|
||||
|
|
|
@ -142,5 +142,6 @@
|
|||
|
||||
JNIEnv *gst_dvm_get_env (void);
|
||||
gboolean gst_dvm_init (void);
|
||||
gboolean gst_dvm_is_own_vm (void);
|
||||
|
||||
#endif /* __GST_DVM_H__ */
|
||||
|
|
Loading…
Reference in a new issue