GStreamer on Android (Android Studio 1.3.2)
Brian D
brian at surround.io
Wed Sep 23 14:35:30 PDT 2015
I've just found the answer to #1 myself. NDK r10e has changed, and the
makefile has been updated to accommodate this change (it used to define
HOST_SED, now it does not). The packages at the previous URL are simply out
of date in relation to Android NDK r10e.
https://bugzilla.gnome.org/show_bug.cgi?id=750162.
-Brian
On Wed, Sep 23, 2015 at 2:21 PM, Brian D <brian at surround.io> wrote:
> 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/26bda4e8/attachment.html>
More information about the gstreamer-devel
mailing list