[FFmpeg-devel] [PATCH] Use av_log() to log messages from the libopenh264 encoder.

Michael Niedermayer michaelni at gmx.at
Thu Sep 10 12:56:47 CEST 2015


On Wed, Sep 09, 2015 at 03:32:42PM -0400, Gregory J. Wolfe wrote:
> 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.
> 
> Signed-off-by: Gregory J. Wolfe <gregory.wolfe at kodakalaris.com>
> ---
>  libavcodec/libopenh264enc.c | 90 +++++++++++++++++++++++++++++++++++++++++++++
>  1 file changed, 90 insertions(+)

applied with some minor changes
thanks

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Awnsering whenever a program halts or runs forever is
On a turing machine, in general impossible (turings halting problem).
On any real computer, always possible as a real computer has a finite number
of states N, and will either halt in less than N cycles or never halt.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20150910/119ad4bd/attachment.sig>


More information about the ffmpeg-devel mailing list