Recherche avancée

Médias (0)

Mot : - Tags -/interaction

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (43)

  • La file d’attente de SPIPmotion

    28 novembre 2010, par

    Une file d’attente stockée dans la base de donnée
    Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
    Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...)

  • Ajouter notes et légendes aux images

    7 février 2011, par

    Pour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
    Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
    Modification lors de l’ajout d’un média
    Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...)

  • Les tâches Cron régulières de la ferme

    1er décembre 2010, par

    La gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
    Le super Cron (gestion_mutu_super_cron)
    Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)

Sur d’autres sites (12268)

  • Revision 4d3c3be6ba : examples : fix memory leak Free used resources before exiting. Change-Id : If6cd

    14 juillet 2012, par John Koleszar

    Changed Paths : Modify /examples/encoder_tmpl.txt Modify /examples/twopass_encoder.txt examples : fix memory leak Free used resources before exiting. Change-Id : If6cde6541615fbf17bf56ed335b76e676eabba93

  • avdevice/lavfi : Properly free an AVDictionary

    2 décembre 2021, par Andreas Rheinhardt
    avdevice/lavfi : Properly free an AVDictionary
    

    It is not documented that freeing the last (and only) entry of
    an AVDictionary frees the dictionary.

    Reviewed-by : Paul B Mahol <onemda@gmail.com>
    Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@outlook.com>

    • [DH] libavdevice/lavfi.c
  • avfilter/vf_overlay : Fix double-free of AVFilterFormats on error

    7 août 2020, par Andreas Rheinhardt
    avfilter/vf_overlay : Fix double-free of AVFilterFormats on error
    

    The query_formats function of the overlay filter tries to allocate
    two lists (only one in a special case) of formats which on success
    are attached to more permanent objects (AVFilterLinks) for storage
    afterwards. If attaching a list to an AVFilterLink succeeds, it is
    in turn owned by the AVFilterLink (or more exactly, the AVFilterLink
    becomes one of the common owners of the list). Yet if attaching a list
    to one of its links succeeds and an error happens lateron, both lists
    were manually freed, whic is wrong if the list is already owned by one
    or more links ; these links' pointers to their lists will become dangling
    and there will be a double-free/use-after-free when these links are
    cleaned up automatically.

    This commit fixes this by removing the custom freeing code ; this will
    temporarily add a leaking codepath (if attaching a list not already
    owned by a link to a link fails, the list will leak), but this will
    be fixed soon by making sure that an AVFilterFormats without owner will
    be automatically freed when attaching it to an AVFilterLink fails.
    Notice that at most one list leaks because a new list is only allocated
    after the old list has been successfully attached to a link.

    Reviewed-by : Nicolas George <george@nsup.org>
    Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@gmail.com>

    • [DH] libavfilter/vf_overlay.c