GStreamer on Android (Android Studio 1.3.2)
Brian D
brian at surround.io
Wed Sep 23 14:21:13 PDT 2015
Sorry, keyboard got away from me!
I've recently spent some time trying to get GStreamer to build in Android
Studio 1.3.2 with the GStreamer Project's provided Android packages found
here: http://gstreamer.freedesktop.org/data/pkg/android/. I've noticed two
issues when compiling and I was writing to check on the status of that
package in relation to these issues:
1) in <pkg>/share/ndk-build/gstreamer-1.0.mk, $HOST_SED is used to do some
string replacement in the build process:
65 # Host tools
66 ifeq ($(HOST_OS),windows)
67 HOST_SED := $(GSTREAMER_NDK_BUILD_PATH)/tools/windows/sed
68 GSTREAMER_LD :=
69 else
70 endif
The problem I run into is that on my build system, Ubuntu, HOST_SED remains
undefined and is later invoked. My fix is to just add /bin/sed in the else
block. Is this a known issue?
2) <pkg>/share/ndk-build/gstreamer_android-1.0.c.in pegs the JNI version at
JNI_VERSION_1_4 and will invoke an error at runtime if it's anything
different. Using Android Studio 1.3.2, which comes with NDK integrated, the
JNI version is up to JNI_VERSION_1_6 -- I've successfully compiled my
project after changing the three references of 1_4 to 1_6, though I have
not thoroughly tested the library with the new JNI version.
Is there a reason this is hard coded to 1_4? Can this be fixed in the build
with a preprocessor directive or some other fix perhaps?
Thanks!
Brian
On Wed, Sep 23, 2015 at 2:12 PM, Brian D <brian at surround.io> wrote:
> Hello,
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20150923/3a0b50f7/attachment.html>
More information about the gstreamer-devel
mailing list