Showing the changes to libavfilter/avfilter.h (1 of 6 files). Show all
Unified · Split
| @@ -699,6 +699,11 @@ struct AVFilterLink { · 698 unmodified lines | ||
| 699 | 699 | * filter. |
| 700 | 700 | */ |
| 701 | 701 | int closed; |
| 702 | + | |
| 703 | + /** | |
| 704 | + * Number of channels. | |
| 705 | + */ | |
| 706 | + int channels; | |
| 702 | 707 | }; |
| 703 | 708 | |
| 704 | 709 | /** |
| @@ -718,6 +723,11 @@ int avfilter_link(AVFilterContext *src, unsigned srcpad, · 13 unmodified lines | ||
| 718 | 723 | */ |
| 719 | 724 | void avfilter_link_free(AVFilterLink **link); |
| 720 | 725 | |
| 726 | +/** | |
| 727 | + * Get the number of channels of a link. | |
| 728 | + */ | |
| 729 | +int avfilter_link_get_channels(AVFilterLink *link); | |
| 730 | + | |
| 721 | 731 | /** |
| 722 | 732 | * Set the closed field of a link. |
| 723 | 733 | */ |