Revision dfd2a005 libavutil/log.h

View differences:

libavutil/log.h
136 136
const char* av_default_item_name(void* ctx);
137 137

  
138 138
/**
139
 * av_dlog macros
140
 * Useful to print debug messages that shouldn't get compiled in normally.
141
 */
142

  
143
#ifdef DEBUG
144
#    define av_dlog(pctx, ...) av_log(pctx, AV_LOG_DEBUG, __VA_ARGS__)
145
#else
146
#    define av_dlog(pctx, ...)
147
#endif
148

  
149
/**
139 150
 * Skip repeated messages, this requires the user app to use av_log() instead of
140 151
 * (f)printf as the 2 would otherwise interfere and lead to
141 152
 * "Last message repeated x times" messages below (f)printf messages with some

Also available in: Unified diff