git.libav.org Git - libav.git/rss log

Libav master git repository

http://git.libav.org/?p=libav.git;a=summary

Les articles publiés sur le site

  • configure : Check for -no_weak_imports in ldflags on macOS

    6 mars 2017, par Luca Barbato
    configure: Check for -no_weak_imports in ldflags on macOS
    
    Recent versions of macOS provide more POSIX API (in particular,
    clock_gettime) than previous versions and recent Apple toolchains
    provide all that API, even when targeting older releases without
    said API. Disallow linking to functions which might not be available
    at runtime.
    
    To actually have an effect, either add
    --extra-cflags="-mmacosx-version-min=10.11" (or any other version
    prior to 10.12) or set MACOSX_DEPLOYMENT_TARGET=10.11 when running
    configure.
    
    As a workaround for libav versions without this fix, one can
    also add --extra-cflags="-mmacosx-version-min=10.11
    -Werror=partial-availability" while running configure.
    
    The -no_weak_imports flag is new in Xcode 8; in Xcode 7 it is not
    supported. This is not an issue since Xcode 7 only ships with the
    10.11 macOS SDK, which lacks clock_gettime.
    
    Bug-Id: 1033
    
    CC: libav-stable@libav.org
    Signed-off-by: Martin Storsjö <martin@martin.st>
    
    • [DBH] configure
  • build : Fix logic of clock_gettime() check

    6 mars 2017, par Diego Biurrun
    build: Fix logic of clock_gettime() check
    
    We should only check for clock_gettime() if _POSIX_MONOTONIC_CLOCK is
    available and do a full link check for clock_gettime() in all cases.
    
    • [DBH] configure
  • avcodec : clarify some decoding/encoding API details

    6 mars 2017, par wm4
    avcodec: clarify some decoding/encoding API details
    
    Make it clear that there is no timing-dependent behavior. In particular,
    there is no state in which both input and output are denied, and where
    you have to wait for a while yourself to make progress (apparently some
    hardware decoders like to do this).
    
    Avoid wording that makes references to time. It shouldn't be mistaken
    for some kind of asynchronous API (like POSIX read() can return EAGAIN
    if there is no new input yet). It's a state machine, so try to use
    appropriate terms.
    
    Signed-off-by: Diego Biurrun <diego@biurrun.de>
    
    • [DBH] libavcodec/avcodec.h
  • hwcontext_qsv : Implement mapping frames to the child device type

    4 mars 2017, par Mark Thompson
    hwcontext_qsv: Implement mapping frames to the child device type
    
    • [DBH] libavutil/hwcontext_qsv.c
  • hwcontext_qsv : Implement mapping frames from the child device type

    4 mars 2017, par Mark Thompson
    hwcontext_qsv: Implement mapping frames from the child device type
    
    Factorises out existing surface initialisation code to reuse.
    
    • [DBH] libavutil/hwcontext_qsv.c