It is currently calling av_channel_layout_describe() unnecessarily.
Unified · Split
| @@ -381,6 +381,7 @@ int avfilter_config_links(AVFilterContext *filter) · 380 unmodified lines | ||
| 381 | 381 | return 0; |
| 382 | 382 | } |
| 383 | 383 | |
| 384 | +#ifdef TRACE | |
| 384 | 385 | void ff_tlog_link(void *ctx, AVFilterLink *link, int end) |
| 385 | 386 | { |
| 386 | 387 | if (link->type == AVMEDIA_TYPE_VIDEO) { |
| @@ -404,6 +405,7 @@ void ff_tlog_link(void *ctx, AVFilterLink *link, int end) · 17 unmodified lines | ||
| 404 | 405 | end ? "\n" : ""); |
| 405 | 406 | } |
| 406 | 407 | } |
| 408 | +#endif | |
| 407 | 409 | |
| 408 | 410 | int ff_request_frame(AVFilterLink *link) |
| 409 | 411 | { |
| @@ -268,7 +268,11 @@ void ff_command_queue_pop(AVFilterContext *filter); · 267 unmodified lines | ||
| 268 | 268 | |
| 269 | 269 | char *ff_get_ref_perms_string(char *buf, size_t buf_size, int perms); |
| 270 | 270 | |
| 271 | +#ifdef TRACE | |
| 271 | 272 | void ff_tlog_link(void *ctx, AVFilterLink *link, int end); |
| 273 | +#else | |
| 274 | +#define ff_tlog_link(ctx, link, end) do { } while(0) | |
| 275 | +#endif | |
| 272 | 276 | |
| 273 | 277 | /** |
| 274 | 278 | * Append a new input/output pad to the filter's list of such pads. |