• Gregory J. Wolfe's avatar
    libopenh264enc: Use av_log() to log messages · 1a4c5fe5
    Gregory J. Wolfe authored
    File libopenh264enc.c has been modified so that the encoder uses av_log()
    to log messages (error, warning, info, etc.) instead of logging them
    directly to stderr.  At the time the encoder is created, the current
    libav log level is mapped to an equivalent libopenh264 log level.  This
    log level, and a message logging function that invokes av_log() to
    actually log messages, are then set on the encoder.
    
    This contains further changes and simplifications by Michael Niedermayer
    and Martin Storsjö.
    Signed-off-by: 's avatarMartin Storsjö <martin@martin.st>
    1a4c5fe5
libopenh264enc.c 10.7 KB