[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:18:14 CET 2011


18.12.2011 12:14, Alexey Sokolov ?????:
> 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()?
Uhm, and why catching Throwable instead of only errors producable by
System.loadLibrary()?
>> +        }
>> +        try {
>>              System.loadLibrary("vlcjni");
>>          } catch (UnsatisfiedLinkError ule) {
>>              Log.e(TAG, "Can't load vlcjni library: " + ule);
>
>
>
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> http://mailman.videolan.org/listinfo/vlc-devel


-- 
Best regards,
Alexey "DarthGandalf" Sokolov

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20111218/a92508b2/attachment.html>
-------------- 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/a92508b2/attachment.sig>


More information about the vlc-devel mailing list