
Recherche avancée
Autres articles (54)
-
Modifier la date de publication
21 juin 2013, parComment changer la date de publication d’un média ?
Il faut au préalable rajouter un champ "Date de publication" dans le masque de formulaire adéquat :
Administrer > Configuration des masques de formulaires > Sélectionner "Un média"
Dans la rubrique "Champs à ajouter, cocher "Date de publication "
Cliquer en bas de la page sur Enregistrer -
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 -
Encoding and processing into web-friendly formats
13 avril 2011, parMediaSPIP automatically converts uploaded files to internet-compatible formats.
Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
All uploaded files are stored online in their original format, so you can (...)
Sur d’autres sites (6111)
-
avcodec/wmaprodec : Make decoders init-threadsafe
5 mai 2021, par Andreas Rheinhardtavcodec/wmaprodec : Make decoders init-threadsafe
In this case this actually fixes a potential data race : The static VLC
tables were reinitialized every time an AVCodecContext has been
initialized ; while the mutex in avcodec_open2() ensured that the VLCs
could not be initialized concurrently by multiple threads, nothing
guaranteed that these VLCs are not read concurrently (when decoding a
packet with an already initialized AVCodecContext) while another thread
initializes them. This is undefined behaviour despite the values being
written coinciding with the earlier values.Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
-
avcodec/jpeg2000dec : Make decoder init-threadsafe
7 mai 2021, par Andreas Rheinhardtavcodec/jpeg2000dec : Make decoder init-threadsafe
The JPEG-2000 decoder and encoder share common luts ; the decoder
initializes them once, guarded by a dedicated AVOnce, whereas
the encoder initializes them always during init. This means that
the decoder is not init-threadsafe ; in fact there is a potential
data race because these luts can be initialized while an active
decoder/encoder is using them.Fix this and make the decoder init-threadsafe by making the
initialization function guard initialization itself with a dedicated
AVOnce.Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
-
avcodec/mqc : Hardcode tables to save space
7 mai 2021, par Andreas Rheinhardtavcodec/mqc : Hardcode tables to save space
mqc currently initializes three arrays at runtime ; each of them
has 2 * 47 elements, one is uint16_t, two are uint8_t, so that their
combined size is 8 * 47. The source data for these initializations
is contained in an array of 47 elements of size six. Said array is
only used in order to initialize the other arrays, so the savings
are just 2 * 47B. Yet this is dwarfed by the size of the code for
performing the initializations : It is 109B (GCC 10.2, x64, -O3 albeit
in an av_cold function) ; this does not even include the size of the
code in the callers. So just hardcode these tables.This also fixes a data race, because the encoder always initialized
these tables during init, although they might already be used at the
same time by already running encoder/decoder instances.Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@outlook.com>