Recherche avancée

Médias (3)

Mot : - Tags -/Valkaama

Autres articles (75)

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

  • Configurer la prise en compte des langues

    15 novembre 2010, par

    Accéder à la configuration et ajouter des langues prises en compte
    Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
    De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
    Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...)

  • XMP PHP

    13 mai 2011, par

    Dixit Wikipedia, XMP signifie :
    Extensible Metadata Platform ou XMP est un format de métadonnées basé sur XML utilisé dans les applications PDF, de photographie et de graphisme. Il a été lancé par Adobe Systems en avril 2001 en étant intégré à la version 5.0 d’Adobe Acrobat.
    Étant basé sur XML, il gère un ensemble de tags dynamiques pour l’utilisation dans le cadre du Web sémantique.
    XMP permet d’enregistrer sous forme d’un document XML des informations relatives à un fichier : titre, auteur, historique (...)

Sur d’autres sites (9581)

  • avformat/seek : add ff_rescale_interval() function

    11 mars 2022, par Pierre-Anthony Lemieux
    avformat/seek : add ff_rescale_interval() function
    

    Refactors a function used by avformat/concat and avformat/imf.

    Signed-off-by : Zane van Iperen <zane@zanevaniperen.com>

    • [DH] libavformat/internal.h
    • [DH] libavformat/seek.c
  • avdevice/dshow : set no-seek flags

    21 décembre 2021, par Diederick Niehorster
    avdevice/dshow : set no-seek flags
    

    avdevice/dshow is a realtime device and as such does not support
    seeking. Therefore, its demuxer format should define the
    AVFMT_NOBINSEARCH, AVFMT_NOGENSEARCH and AVFMT_NO_BYTE_SEEK flags.
    With these flags set, attempting to seek (with, e.g.,
    avformat_seek_file()) correctly yields -1 (operation not permitted)
    instead of -22 (invalid argument).

    This actually seems to apply to many other devices, at least the
    gdigrab, v4l2, vfwcap, x11grab, fbdev, kmsgrab and android_camera
    devices, from reading the source.

    Signed-off-by : Diederick Niehorster <dcnieho@gmail.com>
    Reviewed-by : Roger Pack <rogerdpack2@gmail.com>

    • [DH] libavdevice/dshow.c
  • seek : Fix crashes in ff_seek_frame_binary if built with latest Clang 14

    18 octobre 2021, par Martin Storsjö
    seek : Fix crashes in ff_seek_frame_binary if built with latest Clang 14
    

    Passing an uninitialized variable as argument to a function is
    undefined behaviour (UB). The compiler can assume that UB does not
    happen.

    Hence, the compiler can assume that the variables are never
    uninitialized when passed as argument, which means that the codepaths
    that initializes them must be taken.

    In ff_seek_frame_binary, this means that the compiler can assume
    that the codepaths that initialize pos_min and pos_max are taken,
    which means that the conditions "if (sti->index_entries)" and
    "if (index >= 0)" can be optimized out.

    Current Clang git versions (upcoming Clang 14) enabled an optimization
    that does this, which broke the current version of this function
    (which intentionally left the variables uninitialized, but silencing
    warnings about being uninitialized). See [1] for discussion on
    the matter.

    [1] https://reviews.llvm.org/D105169#3069555

    Signed-off-by : Martin Storsjö <martin@martin.st>

    • [DH] libavformat/seek.c