History

avfilter/avfilter: #if ff_tlog_link() away when empty

It is currently calling av_channel_layout_describe() unnecessarily.

Andreas Rheinhardt committed 4 years ago

Commit e10774a1 parent f4af5042 files · +6 −0Browse files

Showing the changes to libavfilter/avfilter.c (1 of 2 files). Show all

Unified · Split

libavfilter/avfilter.c+2−0
@@ -381,6 +381,7 @@ int avfilter_config_links(AVFilterContext *filter) · 380 unmodified lines
381381 return 0;
382382 }
383383
384+#ifdef TRACE
384385 void ff_tlog_link(void *ctx, AVFilterLink *link, int end)
385386 {
386387 if (link->type == AVMEDIA_TYPE_VIDEO) {
@@ -404,6 +405,7 @@ void ff_tlog_link(void *ctx, AVFilterLink *link, int end) · 17 unmodified lines
404405 end ? "\n" : "");
405406 }
406407 }
408+#endif
407409
408410 int ff_request_frame(AVFilterLink *link)
409411 {

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t