summaryrefslogtreecommitdiff
path: root/sys/androidmedia/gstamc.h
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian.droege@collabora.co.uk>2012-08-14 13:20:14 +0200
committerSebastian Dröge <sebastian.droege@collabora.co.uk>2012-10-15 16:28:36 +0200
commit8f232ea90b02c64412026c4639e9ff69416e5f39 (patch)
treefc0981a1e792e96a1aa99a6cc7919be0dcba0f43 /sys/androidmedia/gstamc.h
parent4cbb7b8a993f6cccd58c92764feefb3ee2ada1b2 (diff)
downloadgstreamer-plugins-bad-8f232ea90b02c64412026c4639e9ff69416e5f39.tar.gz
Initial commit
Diffstat (limited to 'sys/androidmedia/gstamc.h')
-rw-r--r--sys/androidmedia/gstamc.h34
1 files changed, 34 insertions, 0 deletions
diff --git a/sys/androidmedia/gstamc.h b/sys/androidmedia/gstamc.h
new file mode 100644
index 000000000..e452e1b67
--- /dev/null
+++ b/sys/androidmedia/gstamc.h
@@ -0,0 +1,34 @@
+/*
+ * Copyright (C) 2012, Collabora Ltd.
+ * Author: Sebastian Dröge <sebastian.droege@collabora.co.uk>, Collabora Ltd.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation
+ * version 2.1 of the License.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ *
+ */
+
+#ifndef __GST_AMC_H__
+#define __GST_AMC_H__
+
+#include <gst/gst.h>
+#include <jni.h>
+
+G_BEGIN_DECLS
+
+JNIEnv * gst_amc_attach_current_thread (void);
+void gst_amc_detach_current_thread (void);
+
+G_END_DECLS
+
+#endif /* __GST_AMC_H__ */