Recherche avancée

Médias (1)

Mot : - Tags -/Christian Nold

Autres articles (80)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • 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 (...)

  • Pas question de marché, de cloud etc...

    10 avril 2011

    Le vocabulaire utilisé sur ce site essaie d’éviter toute référence à la mode qui fleurit allègrement
    sur le web 2.0 et dans les entreprises qui en vivent.
    Vous êtes donc invité à bannir l’utilisation des termes "Brand", "Cloud", "Marché" etc...
    Notre motivation est avant tout de créer un outil simple, accessible à pour tout le monde, favorisant
    le partage de créations sur Internet et permettant aux auteurs de garder une autonomie optimale.
    Aucun "contrat Gold ou Premium" n’est donc prévu, aucun (...)

Sur d’autres sites (10110)

  • Fix missing used attribute for inline assembly variables

    12 novembre 2017, par Thomas Köppe
    Fix missing used attribute for inline assembly variables
    

    Variables used in inline assembly need to be marked with attribute((used)).
    Static constants already were, via the define of DECLARE_ASM_CONST.
    But DECLARE_ALIGNED does not add this attribute, and some of the variables
    defined with it are const only used in inline assembly, and therefore
    appeared dead. This change adds a macro DECLARE_ASM_ALIGNED that marks
    variables as used.

    This change makes FFMPEG work with Clang's ThinLTO.

    Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>

    • [DH] libavcodec/cabac.c
    • [DH] libavcodec/x86/constants.c
    • [DH] libavutil/mem.h
    • [DH] libswscale/x86/swscale.c
  • AttributeError : 'NoneType' object has no attribute 'tostring'

    10 juin 2017, par Antoine Pouliot

    So I just started programming a few days ago and I have this problem : AttributeError: 'NoneType' object has no attribute 'tostring'. I don’t know what is wrong.

    #Reads through each frame, calculates the timestamp, places it on the frame and
    #exports the frame to the output video.
    while current_frame &lt; total_frames:
       success, image = video.read()
       elapsed_time = video.get(cv2.CAP_PROP_POS_MSEC)
       current_frame = video.get(cv2.CAP_PROP_POS_FRAMES)
       timestamp = initial + dt.timedelta(microseconds = elapsed_time*1000)
       cv2.putText(image, 'Date: ' + str(timestamp)[0:10], (50,int(height-150)), cv2.FONT_HERSHEY_COMPLEX_SMALL, 2, (255, 255, 255), 3)
       cv2.putText(image, 'Time: ' + str(timestamp)[11:-4], (50,int(height-100)), cv2.FONT_HERSHEY_COMPLEX_SMALL, 2, (255, 255, 255), 3)
       pipe.stdin.write(image.tostring())
  • libavutil : Define the noreturn attribute for clang in MSVC mode as well

    21 mars 2017, par Martin Storsjö
    libavutil : Define the noreturn attribute for clang in MSVC mode as well
    

    This is a follow-up to f637046d313.

    Without the noreturn attribute set, avconv_opt.c fails to build after
    d2e6dd32a44 with the error "control may reach end of non-void function".
    By making sure the noreturn attribute is set properly, this compiles
    as intended.

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

    • [DBH] libavutil/attributes.h