
Recherche avancée
Autres articles (66)
-
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs -
Les vidéos
21 avril 2011, parComme les documents de type "audio", Mediaspip affiche dans la mesure du possible les vidéos grâce à la balise html5 .
Un des inconvénients de cette balise est qu’elle n’est pas reconnue correctement par certains navigateurs (Internet Explorer pour ne pas le nommer) et que chaque navigateur ne gère en natif que certains formats de vidéos.
Son avantage principal quant à lui est de bénéficier de la prise en charge native de vidéos dans les navigateur et donc de se passer de l’utilisation de Flash et (...) -
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
Sur d’autres sites (6626)
-
fate/exr : add test for pxr24 with half and uint32 channel
17 novembre 2016, par Martin Vignali -
Android Studio link prebuilt library .so error
15 juin 2016, par Zhou YufengI’m developing an Android app using FFmpeg. I have built FFmpeg into *.so files and put them into jniLibs as follows :
src
—main
----jniLibs
------armeabi
--------libavcodec-57.so
--------libavformat-57.so
--------xx.so
While in grade script, abifilter of ndk is armeabi.
In java files, I have succeeded load these .so files and the built apk also contains them. However, when I use any API (e.g. av_register_all()) of them in a .c file under src/jni folder, build error comes :
Error :(14) undefined reference to ’av_register_all’
Error:Execution failed for task ’:app:compileDebugNdk’.
com.android.ide.common.process.ProcessException : org.gradle.process.internal.ExecException : Process ’command ’/Users/zhouyf/Library/Android/sdk/ndk-bundle/ndk-build’’ finished with non-zero exit value 2
It seems that problem exists in linker. But I found answer that just putting .so files to jniLibs/armeabi will be OK.
Do I need modify build.gradle file to link those .so files or else ?P.S.
If I don’t call the API, the app will run successfully, only with warning : W/linker : libavformat-57.so : unused DT entry : type 0x6ffffffe arg 0x60e0
W/linker : libavformat-57.so : unused DT entry : type 0x6fffffff arg 0x2Environment :
Android Studio 2.1.1
Mac OS X 10.11.5 -
Patch for Trac #1974 ; make sure unit tests pull in -lm during link
19 septembre 2013, par MontyPatch for Trac #1974 ; make sure unit tests pull in -lm during link
git-svn-id : http://svn.xiph.org/trunk/vorbis@19002 0101bb08-14d6-0310-b084-bc0e0c8e3800