amf: Replace writer_id option with LIBAV_AMF_WRITER_ID constant
authorAlexander Kravchenko <AAKravchenko@luxoft.com>
Wed, 28 Feb 2018 06:33:05 +0000 (06:33 +0000)
committerDiego Biurrun <diego@biurrun.de>
Wed, 7 Mar 2018 13:23:28 +0000 (14:23 +0100)
commit80a4e6a46f21256e9bf508ead686563616945ad5
tree534e66ff3fc3c30cba1da02689b3bb1851336bcc
parent31a53ab34e22fe1eec902f79ec1f19ab828a7a0c
amf: Replace writer_id option with LIBAV_AMF_WRITER_ID constant

AMFTraceWriter is an abstraction to configure how AMF outputs its logs
for the current process and can be configured to output different levels
of trace output. If multiple LibavWriter objects are used in one process,
there will be duplication of output in av_log. Use a constant writer_id
to prevent this scenario.

Signed-off-by: Diego Biurrun <diego@biurrun.de>
libavcodec/amfenc.c
libavcodec/amfenc.h