loadLibrary gstreamer_android

cristian.astorino cristian.astorino at gmail.com
Sun Jan 10 09:09:37 PST 2016


Done, but it continues to raise SIGPIPE: http://pastebin.com/pPt8VUUK

this is the piece of code modified:

void
gst_android_init (JNIEnv * env, jobject context)
{
  /* libc sigpipe 2015-01-10 */
  signal(SIGPIPE, SIG_IGN);

  gchar *cache_dir;
  gchar *files_dir;

I then rebuilt the library with: ndk-build -B V=1

What to do now?

Thanks

2016-01-10 17:48 GMT+01:00 Sebastian Dröge-3 [via GStreamer-devel] <
ml-node+s966125n4675194h6 at n4.nabble.com>:

> On So, 2016-01-10 at 07:42 -0800, cristian.astorino wrote:
>
> > Hi, I'm using gst-player and I got some problems when trying the app
> > on my
> > HTC Desire S (Android 4.0.4).
> > I have gstreamer 1.6.1 built with android ndk r10e
> >
> > When trying to load gstreamer_android.so it seems to not return:
> >
> > Log.d(TAG, "init 1");
> > System.loadLibrary("gstreamer_android");
> > Log.d(TAG, "init 2");
> >
> > init2 is not printed in the debug log.
> > Here you can find logcat: http://pastebin.com/GK1fsQBY
> >
> > How can I solve?
> Looks like a wonderfully broken device :) It somehow raises SIGPIPE
> during GStreamer initialization, which then kills the whole process.
>
> Can you try if everything works well if you add
>   signal(SIGPIPE, SIG_IGN);
> at the top of gst_android_init() in
> share/ndk-build/gstreamer_android-1.0.c.in and then rebuild the
> application?
>
> --
> Sebastian Dröge, Centricular Ltd · http://www.centricular.com
>
>
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email] <http:///user/SendEmail.jtp?type=node&node=4675194&i=0>
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
> *signature.asc* (968 bytes) Download Attachment
> <http://gstreamer-devel.966125.n4.nabble.com/attachment/4675194/0/signature.asc>
>
>
> ------------------------------
> If you reply to this email, your message will be added to the discussion
> below:
>
> http://gstreamer-devel.966125.n4.nabble.com/loadLibrary-gstreamer-android-tp4675192p4675194.html
> To unsubscribe from loadLibrary gstreamer_android, click here
> <http://gstreamer-devel.966125.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4675192&code=Y3Jpc3RpYW4uYXN0b3Jpbm9AZ21haWwuY29tfDQ2NzUxOTJ8MTEyMjIxMjM1>
> .
> NAML
> <http://gstreamer-devel.966125.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>




--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/loadLibrary-gstreamer-android-tp4675192p4675195.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20160110/262317e0/attachment-0001.html>


More information about the gstreamer-devel mailing list