annotate lib/libavutil/log.h @ 2575:a76d408c5132 tip

DrawTranslucent -> DrawTextureGrayShade Removed old texture drawing stuff
author a.parshin
date Wed, 09 Mar 2016 01:39:52 +0200
parents 992d2e6f907d
children
rev   line source
2134
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
1 /*
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
2 * copyright (c) 2006 Michael Niedermayer <michaelni@gmx.at>
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
3 *
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
4 * This file is part of FFmpeg.
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
5 *
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
6 * FFmpeg is free software; you can redistribute it and/or
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
7 * modify it under the terms of the GNU Lesser General Public
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
8 * License as published by the Free Software Foundation; either
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
9 * version 2.1 of the License, or (at your option) any later version.
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
10 *
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
11 * FFmpeg is distributed in the hope that it will be useful,
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
14 * Lesser General Public License for more details.
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
15 *
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
16 * You should have received a copy of the GNU Lesser General Public
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
17 * License along with FFmpeg; if not, write to the Free Software
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
18 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
19 */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
20
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
21 #ifndef AVUTIL_LOG_H
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
22 #define AVUTIL_LOG_H
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
23
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
24 #include <stdarg.h>
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
25 #include "avutil.h"
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
26 #include "attributes.h"
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
27
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
28 typedef enum {
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
29 AV_CLASS_CATEGORY_NA = 0,
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
30 AV_CLASS_CATEGORY_INPUT,
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
31 AV_CLASS_CATEGORY_OUTPUT,
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
32 AV_CLASS_CATEGORY_MUXER,
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
33 AV_CLASS_CATEGORY_DEMUXER,
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
34 AV_CLASS_CATEGORY_ENCODER,
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
35 AV_CLASS_CATEGORY_DECODER,
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
36 AV_CLASS_CATEGORY_FILTER,
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
37 AV_CLASS_CATEGORY_BITSTREAM_FILTER,
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
38 AV_CLASS_CATEGORY_SWSCALER,
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
39 AV_CLASS_CATEGORY_SWRESAMPLER,
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
40 AV_CLASS_CATEGORY_NB, ///< not part of ABI/API
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
41 }AVClassCategory;
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
42
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
43 struct AVOptionRanges;
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
44
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
45 /**
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
46 * Describe the class of an AVClass context structure. That is an
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
47 * arbitrary struct of which the first field is a pointer to an
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
48 * AVClass struct (e.g. AVCodecContext, AVFormatContext etc.).
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
49 */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
50 typedef struct AVClass {
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
51 /**
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
52 * The name of the class; usually it is the same name as the
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
53 * context structure type to which the AVClass is associated.
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
54 */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
55 const char* class_name;
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
56
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
57 /**
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
58 * A pointer to a function which returns the name of a context
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
59 * instance ctx associated with the class.
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
60 */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
61 const char* (*item_name)(void* ctx);
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
62
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
63 /**
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
64 * a pointer to the first option specified in the class if any or NULL
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
65 *
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
66 * @see av_set_default_options()
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
67 */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
68 const struct AVOption *option;
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
69
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
70 /**
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
71 * LIBAVUTIL_VERSION with which this structure was created.
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
72 * This is used to allow fields to be added without requiring major
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
73 * version bumps everywhere.
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
74 */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
75
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
76 int version;
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
77
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
78 /**
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
79 * Offset in the structure where log_level_offset is stored.
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
80 * 0 means there is no such variable
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
81 */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
82 int log_level_offset_offset;
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
83
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
84 /**
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
85 * Offset in the structure where a pointer to the parent context for
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
86 * logging is stored. For example a decoder could pass its AVCodecContext
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
87 * to eval as such a parent context, which an av_log() implementation
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
88 * could then leverage to display the parent context.
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
89 * The offset can be NULL.
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
90 */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
91 int parent_log_context_offset;
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
92
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
93 /**
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
94 * Return next AVOptions-enabled child or NULL
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
95 */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
96 void* (*child_next)(void *obj, void *prev);
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
97
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
98 /**
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
99 * Return an AVClass corresponding to the next potential
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
100 * AVOptions-enabled child.
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
101 *
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
102 * The difference between child_next and this is that
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
103 * child_next iterates over _already existing_ objects, while
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
104 * child_class_next iterates over _all possible_ children.
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
105 */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
106 const struct AVClass* (*child_class_next)(const struct AVClass *prev);
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
107
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
108 /**
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
109 * Category used for visualization (like color)
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
110 * This is only set if the category is equal for all objects using this class.
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
111 * available since version (51 << 16 | 56 << 8 | 100)
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
112 */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
113 AVClassCategory category;
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
114
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
115 /**
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
116 * Callback to return the category.
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
117 * available since version (51 << 16 | 59 << 8 | 100)
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
118 */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
119 AVClassCategory (*get_category)(void* ctx);
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
120
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
121 /**
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
122 * Callback to return the supported/allowed ranges.
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
123 * available since version (52.12)
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
124 */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
125 int (*query_ranges)(struct AVOptionRanges **, void *obj, const char *key, int flags);
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
126 } AVClass;
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
127
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
128 /* av_log API */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
129
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
130 #define AV_LOG_QUIET -8
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
131
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
132 /**
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
133 * Something went really wrong and we will crash now.
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
134 */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
135 #define AV_LOG_PANIC 0
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
136
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
137 /**
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
138 * Something went wrong and recovery is not possible.
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
139 * For example, no header was found for a format which depends
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
140 * on headers or an illegal combination of parameters is used.
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
141 */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
142 #define AV_LOG_FATAL 8
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
143
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
144 /**
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
145 * Something went wrong and cannot losslessly be recovered.
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
146 * However, not all future data is affected.
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
147 */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
148 #define AV_LOG_ERROR 16
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
149
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
150 /**
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
151 * Something somehow does not look correct. This may or may not
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
152 * lead to problems. An example would be the use of '-vstrict -2'.
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
153 */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
154 #define AV_LOG_WARNING 24
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
155
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
156 #define AV_LOG_INFO 32
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
157 #define AV_LOG_VERBOSE 40
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
158
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
159 /**
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
160 * Stuff which is only useful for libav* developers.
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
161 */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
162 #define AV_LOG_DEBUG 48
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
163
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
164 #define AV_LOG_MAX_OFFSET (AV_LOG_DEBUG - AV_LOG_QUIET)
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
165
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
166 /**
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
167 * Send the specified message to the log if the level is less than or equal
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
168 * to the current av_log_level. By default, all logging messages are sent to
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
169 * stderr. This behavior can be altered by setting a different av_vlog callback
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
170 * function.
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
171 *
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
172 * @param avcl A pointer to an arbitrary struct of which the first field is a
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
173 * pointer to an AVClass struct.
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
174 * @param level The importance level of the message, lower values signifying
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
175 * higher importance.
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
176 * @param fmt The format string (printf-compatible) that specifies how
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
177 * subsequent arguments are converted to output.
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
178 * @see av_vlog
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
179 */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
180 void av_log(void *avcl, int level, const char *fmt, ...) av_printf_format(3, 4);
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
181
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
182 void av_vlog(void *avcl, int level, const char *fmt, va_list);
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
183 int av_log_get_level(void);
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
184 void av_log_set_level(int);
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
185 void av_log_set_callback(void (*)(void*, int, const char*, va_list));
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
186 void av_log_default_callback(void* ptr, int level, const char* fmt, va_list vl);
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
187 const char* av_default_item_name(void* ctx);
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
188 AVClassCategory av_default_get_category(void *ptr);
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
189
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
190 /**
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
191 * Format a line of log the same way as the default callback.
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
192 * @param line buffer to receive the formated line
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
193 * @param line_size size of the buffer
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
194 * @param print_prefix used to store whether the prefix must be printed;
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
195 * must point to a persistent integer initially set to 1
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
196 */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
197 void av_log_format_line(void *ptr, int level, const char *fmt, va_list vl,
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
198 char *line, int line_size, int *print_prefix);
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
199
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
200 /**
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
201 * av_dlog macros
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
202 * Useful to print debug messages that shouldn't get compiled in normally.
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
203 */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
204
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
205 #ifdef DEBUG
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
206 # define av_dlog(pctx, ...) av_log(pctx, AV_LOG_DEBUG, __VA_ARGS__)
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
207 #else
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
208 # define av_dlog(pctx, ...) do { if (0) av_log(pctx, AV_LOG_DEBUG, __VA_ARGS__); } while (0)
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
209 #endif
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
210
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
211 /**
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
212 * Skip repeated messages, this requires the user app to use av_log() instead of
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
213 * (f)printf as the 2 would otherwise interfere and lead to
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
214 * "Last message repeated x times" messages below (f)printf messages with some
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
215 * bad luck.
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
216 * Also to receive the last, "last repeated" line if any, the user app must
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
217 * call av_log(NULL, AV_LOG_QUIET, "%s", ""); at the end
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
218 */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
219 #define AV_LOG_SKIP_REPEATED 1
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
220 void av_log_set_flags(int arg);
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
221
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
222 #endif /* AVUTIL_LOG_H */