Add Fluendo Timeshifter to Android

Victor David Flores Enriquez victordavidfe at gmail.com
Sun Jan 15 21:34:40 UTC 2017


Hello.
Im adding the Fluendo Timeshifter (https://github.com/kkonopko/
gst-fluendo-timeshift) to Android as a static plugin by
gst_plugin_register_static ( GST_VERSION_MAJOR,

 GST_VERSION_MINOR,
 "
​TimeShifter-Plugin
",
 "MPEG TS Time Shift element",
 plugin_init,
....
);

Im pointing the src files in jni/xxxx.c in the Android.mk file
but I get the following error when compiling:

src/main/jni/tsmemindex.c:110: error: undefined reference to
'g_atomic_pointer_get'
src/main/jni/tsindex.c:54: error: undefined reference to 'g_atomic_pointer_get'
src/main/jni/tscache.c:375: error: undefined reference to
'g_atomic_int_compare_and_exchange'
src/main/jni/tscache.c:378: error: undefined reference to 'g_atomic_int_inc'
src/main/jni/tscache.c:379: error: undefined reference to 'g_atomic_int_get'
src/main/jni/tscache.c:237: error: undefined reference to 'g_atomic_int_get'
src/main/jni/tscache.c:228: error: undefined reference to 'g_atomic_int_get'
src/main/jni/tscache.c:242: error: undefined reference to 'ts_flow'
src/main/jni/tscache.c:147: error: undefined reference to 'g_atomic_pointer_get'
src/main/jni/tscache.c:319: error: undefined reference to 'g_atomic_int_inc'
src/main/jni/tscache.c:352: error: undefined reference to
'g_atomic_int_dec_and_test'
src/main/jni/tscache.c:135: error: undefined reference to 'g_atomic_int_set'
src/main/jni/tscache.c:423: error: undefined reference to
'g_atomic_int_compare_and_exchange'
src/main/jni/tscache.c:426: error: undefined reference to 'g_atomic_int_inc'
src/main/jni/tscache.c:430: error: undefined reference to
'g_atomic_int_compare_and_exchange'
src/main/jni/tscache.c:433: error: undefined reference to 'g_atomic_int_add'
src/main/jni/tscache.c:159: error: undefined reference to 'g_atomic_pointer_get'
src/main/jni/tscache.c:360: error: undefined reference to
'g_atomic_int_compare_and_exchange'
src/main/jni/tscache.c:65: error: undefined reference to 'g_atomic_int_get'
src/main/jni/tscache.c:94: error: undefined reference to 'g_atomic_int_set'
src/main/jni/tscache.c:482: error: undefined reference to 'g_atomic_int_inc'
src/main/jni/tscache.c:97: error: undefined reference to 'g_atomic_int_set'
src/main/jni/tscache.c:392: error: undefined reference to 'g_atomic_int_add'
src/main/jni/tscache.c:590: error: undefined reference to 'ts_flow'
src/main/jni/gsttsshifterbin.c:219: error: undefined reference to
'ts_shifterbin'
src/main/jni/gsttsshifter.c:996: error: undefined reference to 'ts_shifter'
src/main/jni/gsttsshifter.c:683: error: undefined reference to 'ts_shifter'
src/main/jni/gsttsshifter.c:522: error: undefined reference to 'ts_shifter'
src/main/jni/gsttsshifter.c:522: error: undefined reference to 'ts_flow'
src/main/jni/gsttsshifter.c:760: error: undefined reference to 'ts_shifter'
src/main/jni/gsttsshifter.c:760: error: undefined reference to 'ts_flow'
I did add #include <glib.h> to each file but sill not finding the references.
Any idea of what Im doing wrong?




2017-01-15 22:28 GMT+01:00 Victor David Flores Enriquez <
victordavidfe at gmail.com>:

> Hello.
> Im adding the Fluendo Timeshifter (https://github.com/kkonopko/
> gst-fluendo-timeshift) to Android as a static plugin by
> gst_plugin_register_static ( GST_VERSION_MAJOR,
>
>  GST_VERSION_MINOR,
>  "
> ​TimeShifter-Plugin
> ",
>  "MPEG TS Time Shift element",
>  plugin_init,
> );
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20170115/020fc6fd/attachment.html>


More information about the gstreamer-devel mailing list