[vlc-devel] [PATCH 1/2] Build the iomx glue code as a separate shared library
Alexey Sokolov
alexey at alexeysokolov.co.cc
Sun Dec 18 06:14:45 CET 2011
17.12.2011 04:47, Martin Storsjö пишет:
> diff --git a/vlc-android/src/org/videolan/vlc/android/LibVLC.java b/vlc-android/src/org/videolan/vlc/android/LibVLC.java
> index 8cd436e..8f9b67a 100644
> --- a/vlc-android/src/org/videolan/vlc/android/LibVLC.java
> +++ b/vlc-android/src/org/videolan/vlc/android/LibVLC.java
> @@ -30,6 +30,11 @@ public class LibVLC {
> /* Load library before object instantiation */
> static {
> try {
> + System.loadLibrary("iomx");
> + } catch (Throwable t) {
> + t.printStackTrace();
Why t.printStackTrace() instead of Log.e()?
> + }
> + try {
> System.loadLibrary("vlcjni");
> } catch (UnsatisfiedLinkError ule) {
> Log.e(TAG, "Can't load vlcjni library: " + ule);
--
Best regards,
Alexey "DarthGandalf" Sokolov
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 900 bytes
Desc: OpenPGP digital signature
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20111218/7b2229c7/attachment.sig>
More information about the vlc-devel
mailing list