gst_element_factory_make fails with ANDROID

yxxone xuchangxue365812 at 126.com
Tue Nov 19 01:00:14 PST 2013


My mk file :
LOCAL_PATH := $(call my-dir)

include $(CLEAR_VARS)

LOCAL_MODULE    := test
LOCAL_SRC_FILES := test.c
LOCAL_SHARED_LIBRARIES := gstreamer_android
LOCAL_LDLIBS := -llog

include $(BUILD_SHARED_LIBRARY)

GSTREAMER_SDK_ROOT        := $(GSTREAMER_SDK_ROOT_ANDROID)
GSTREAMER_NDK_BUILD_PATH  :=
$(GSTREAMER_SDK_ROOT)/share/gst-android/ndk-build/
GSTREAMER_PLUGINS         := $(GSTREAMER_PLUGINS_CODECS) coreelements rtp
udp 
G_IO_MODULES              := gnutls
GSTREAMER_EXTRA_DEPS      := gstreamer-interfaces-0.10 gstreamer-video-0.10
 
include $(GSTREAMER_NDK_BUILD_PATH)/gstreamer.mk 


I run ndk-build and it works ,but when i run the apk with android device,
error occur with code:

	demux		= gst_element_factory_make("qtdumux", "dumux");
	g_assert(demux);

the error:

ERROR:jni/test.c:40:gst_native_rtp_send: assertion failed: (demux)
A/libc(11860): Fatal signal 11 (SIGSEGV) at 0xdeadbaad (code=1), thread
11860 (cn.android.test)

I have no idea what to do with it .

Thankd in advance.






--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/gst-element-factory-make-fails-with-ANDROID-tp4663411.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list