<div dir="ltr"><div><div><div><div>Done, but it continues to raise SIGPIPE: <a href="http://pastebin.com/pPt8VUUK" target="_top" rel="nofollow" link="external">http://pastebin.com/pPt8VUUK</a><br><br></div>this is the piece of code modified:<br><br>void<br>gst_android_init (JNIEnv * env, jobject context)<br>{<br> /* libc sigpipe 2015-01-10 */<br> signal(SIGPIPE, SIG_IGN);<br><br> gchar *cache_dir;<br> gchar *files_dir;<br><br></div>I then rebuilt the library with: ndk-build -B V=1<br><br></div>What to do now?<br></div><div><br></div>Thanks<br></div><div class="gmail_extra"><br><div class="gmail_quote">2016-01-10 17:48 GMT+01:00 Sebastian Dröge-3 [via GStreamer-devel] <span dir="ltr"><<a href="/user/SendEmail.jtp?type=node&node=4675195&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>></span>:<br><blockquote style='border-left:2px solid #CCCCCC;padding:0 1em' class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On So, 2016-01-10 at 07:42 -0800, cristian.astorino wrote:
<div><div><div class='shrinkable-quote'><br>> Hi, I'm using gst-player and I got some problems when trying the app
<br>> on my
<br>> HTC Desire S (Android 4.0.4).
<br>> I have gstreamer 1.6.1 built with android ndk r10e
<br>>
<br>> When trying to load gstreamer_android.so it seems to not return:
<br>>
<br>> Log.d(TAG, "init 1");
<br>> System.loadLibrary("gstreamer_android");
<br>> Log.d(TAG, "init 2");
<br>>
<br>> init2 is not printed in the debug log.
<br>> Here you can find logcat: <a href="http://pastebin.com/GK1fsQBY" rel="nofollow" link="external" target="_blank">http://pastebin.com/GK1fsQBY</a><br>>
<br>> How can I solve?
</div></div>Looks like a wonderfully broken device :) It somehow raises SIGPIPE
</div>during GStreamer initialization, which then kills the whole process.
<br><br>Can you try if everything works well if you add
<br> signal(SIGPIPE, SIG_IGN);
<br>at the top of gst_android_init() in
<br>share/ndk-build/<a href="http://gstreamer_android-1.0.c.in" target="_blank" rel="nofollow" link="external">gstreamer_android-1.0.c.in</a> and then rebuild the
<br>application?
<br><br>--
<br>Sebastian Dröge, Centricular Ltd · <a href="http://www.centricular.com" rel="nofollow" link="external" target="_blank">http://www.centricular.com</a><br><br><br>_______________________________________________
<br>gstreamer-devel mailing list
<br><a href="http:///user/SendEmail.jtp?type=node&node=4675194&i=0" rel="nofollow" link="external" target="_blank">[hidden email]</a>
<br><a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="nofollow" link="external" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br><div><br><img src="http://gstreamer-devel.966125.n4.nabble.com/images/icon_attachment.gif"> <strong>signature.asc</strong> (968 bytes) <a href="http://gstreamer-devel.966125.n4.nabble.com/attachment/4675194/0/signature.asc" rel="nofollow" link="external" target="_blank">Download Attachment</a></div>
<br>
<br>
<hr color="#cccccc" noshade size="1">
<div style="color:#444;font:12px tahoma,geneva,helvetica,arial,sans-serif">
<div style="font-weight:bold">If you reply to this email, your message will be added to the discussion below:</div>
<a href="http://gstreamer-devel.966125.n4.nabble.com/loadLibrary-gstreamer-android-tp4675192p4675194.html" target="_blank" rel="nofollow" link="external">http://gstreamer-devel.966125.n4.nabble.com/loadLibrary-gstreamer-android-tp4675192p4675194.html</a>
</div>
<div style="color:#666;font:11px tahoma,geneva,helvetica,arial,sans-serif;margin-top:.4em;line-height:1.5em">
To unsubscribe from loadLibrary gstreamer_android, <a href="" target="_blank" rel="nofollow" link="external">click here</a>.<br>
<a href="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" rel="nofollow" style="font:9px serif" target="_blank" link="external">NAML</a>
</div></blockquote></div><br></div>
<br/><hr align="left" width="300" />
View this message in context: <a href="http://gstreamer-devel.966125.n4.nabble.com/loadLibrary-gstreamer-android-tp4675192p4675195.html">Re: loadLibrary gstreamer_android</a><br/>
Sent from the <a href="http://gstreamer-devel.966125.n4.nabble.com/">GStreamer-devel mailing list archive</a> at Nabble.com.<br/>