
Recherche avancée
Autres articles (83)
-
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
-
Amélioration de la version de base
13 septembre 2013Jolie sélection multiple
Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...) -
Creating farms of unique websites
13 avril 2011, parMediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)
Sur d’autres sites (14014)
-
SDL2.0 Alternative for SDL_Overlay
19 juin 2019, par JoshSo I’ve been trying to go through the following tutorial on ffmpeg : http://dranger.com/ffmpeg/tutorial02.html
However, when I try to compile using gcc, I get the following output :
root:/Users/mbrodeur/Downloads/HACKATHON CONTENT/Tutorials-> gcc -o tutorial02 tutorial02.c -lavutil -lavformat -lavcodec -lz -lavutil -lm -lswscale -D_THREAD_SAFE -lSDL2
tutorial02.c: In function ‘main’:
tutorial02.c:41: error: ‘SDL_Overlay’ undeclared (first use in this function)
tutorial02.c:41: error: (Each undeclared identifier is reported only once
tutorial02.c:41: error: for each function it appears in.)
tutorial02.c:41: error: ‘bmp’ undeclared (first use in this function)
tutorial02.c:98: warning: assignment makes pointer from integer without a cast
tutorial02.c:110: error: ‘SDL_YV12_OVERLAY’ undeclared (first use in this function)Now, I read that SDL_Overlay is no longer used in SDL2, so therein lies the problem. I’ve been poking around, but can’t seem to find anything helpful. Is there a replacement for SDL_Overlay ? Is it necessary ?
SDL_Overlay is used in the following context :
SDL_Overlay *bmp;
bmp = SDL_CreateYUVOverlay(pCodecCtx->width, pCodecCtx->height,
SDL_YV12_OVERLAY, screen); -
SDL2.0 Alternative for SDL_Overlay
2 février 2017, par JoshSo I’ve been trying to go through the following tutorial on ffmpeg : http://dranger.com/ffmpeg/tutorial02.html
However, when I try to compile using gcc, I get the following output :
root:/Users/mbrodeur/Downloads/HACKATHON CONTENT/Tutorials-> gcc -o tutorial02 tutorial02.c -lavutil -lavformat -lavcodec -lz -lavutil -lm -lswscale -D_THREAD_SAFE -lSDL2
tutorial02.c: In function ‘main’:
tutorial02.c:41: error: ‘SDL_Overlay’ undeclared (first use in this function)
tutorial02.c:41: error: (Each undeclared identifier is reported only once
tutorial02.c:41: error: for each function it appears in.)
tutorial02.c:41: error: ‘bmp’ undeclared (first use in this function)
tutorial02.c:98: warning: assignment makes pointer from integer without a cast
tutorial02.c:110: error: ‘SDL_YV12_OVERLAY’ undeclared (first use in this function)Now, I read that SDL_Overlay is no longer used in SDL2, so therein lies the problem. I’ve been poking around, but can’t seem to find anything helpful. Is there a replacement for SDL_Overlay ? Is it necessary ?
SDL_Overlay is used in the following context :
SDL_Overlay *bmp;
bmp = SDL_CreateYUVOverlay(pCodecCtx->width, pCodecCtx->height,
SDL_YV12_OVERLAY, screen); -
libopenjpegenc : fix out-of-bounds reads when filling the edges
13 octobre 2016, par Andreas Cadhalpunlibopenjpegenc : fix out-of-bounds reads when filling the edges
The calculation of width/height should round up, not round down to
prevent setting width or height to 0.Also image->comps[compno].w is unsigned (at least in openjpeg2), so the
calculation could silently wrap around without the explicit cast to int.Reviewed-by : Michael Bradshaw <mjbshaw@gmail.com>
Reviewed-by : Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by : Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>