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
381 return 0;381 return 0;
382}382}
383 383
384#ifdef TRACE
384void ff_tlog_link(void *ctx, AVFilterLink *link, int end)385void ff_tlog_link(void *ctx, AVFilterLink *link, int end)
385{386{
386 if (link->type == AVMEDIA_TYPE_VIDEO) {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 end ? "\n" : "");405 end ? "\n" : "");
405 }406 }
406}407}
408#endif
407 409
408int ff_request_frame(AVFilterLink *link)410int ff_request_frame(AVFilterLink *link)
409{411{

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