diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-03-17 22:31:47 +0100 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2020-03-21 18:52:45 -0300 |
commit | ea46b45e9c5475a62d37c9d79fe0ae038a04bdef (patch) | |
tree | 1a0d0821cf5a0b94b4a0384682c5ff067e47609a /libavformat/rtsp.c | |
parent | d0ba6715d258b5a008f28e85b5684b901f7e2ad2 (diff) | |
download | ffmpeg-ea46b45e9c5475a62d37c9d79fe0ae038a04bdef.tar.gz |
avcodec/bsf: Beautify log messages from bitstream filters
Up until now, the name of every AVBSFContext for logging purposes was
"AVBSFContext", so that the default logging callback produced output
like "[AVBSFContext @ 0x55813bae92c0] Extradata". This has been changed
to "[trace_headers @ 0x60a000000700] Extradata" by adding an item_name-
function to the AVClass for bitstream filters.
Furthermore, the correct category has been set so that the introductory
part before the actual message (everything before "Extradata" in the
above examples) are displayed in a different colour than the rest.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Reviewed-by: Anton Khirnov <anton@khirnov.net>
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavformat/rtsp.c')
0 files changed, 0 insertions, 0 deletions