History

lavfi: add a channels field to AVFilterLink.

Nicolas George committed 13 years ago

Commit 238edd21 parent a9275b46 files · +22 −2Browse files

Showing the changes to libavfilter/avfiltergraph.c (1 of 6 files). Show all

Unified · Split

libavfilter/avfiltergraph.c+1−0
@@ -473,6 +473,7 @@ static int pick_format(AVFilterLink *link, AVFilterLink *ref) · 472 unmodified lines
473473 }
474474 link->in_channel_layouts->nb_channel_layouts = 1;
475475 link->channel_layout = link->in_channel_layouts->channel_layouts[0];
476+ link->channels = av_get_channel_layout_nb_channels(link->channel_layout);
476477 }
477478
478479 ff_formats_unref(&link->in_formats);

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