avfilter: Fix doxy references

Doxygen does not properly form references that span multiple levels,
so instead reword it a bit and manually add the references to what
they should point to.
This commit is contained in:
Marvin Scholz 2022-09-24 22:08:21 +02:00 committed by Anton Khirnov
parent 436879a203
commit 60224f203f
1 changed files with 14 additions and 7 deletions

View File

@ -313,13 +313,20 @@ typedef struct AVFilter {
* and outputs are fixed), shortly before the format negotiation. This * and outputs are fixed), shortly before the format negotiation. This
* callback may be called more than once. * callback may be called more than once.
* *
* This callback must set AVFilterLink.outcfg.formats on every input link * This callback must set ::AVFilterLink's
* and AVFilterLink.incfg.formats on every output link to a list of * @ref AVFilterFormatsConfig.formats "outcfg.formats"
* pixel/sample formats that the filter supports on that link. For audio * on every input link and
* links, this filter must also set @ref AVFilterLink.incfg.samplerates * @ref AVFilterFormatsConfig.formats "incfg.formats"
* "in_samplerates" / @ref AVFilterLink.outcfg.samplerates "out_samplerates" * on every output link to a list of pixel/sample formats that the filter
* and @ref AVFilterLink.incfg.channel_layouts "in_channel_layouts" / * supports on that link.
* @ref AVFilterLink.outcfg.channel_layouts "out_channel_layouts" analogously. * For audio links, this filter must also set
* @ref AVFilterFormatsConfig.samplerates "incfg.samplerates"
* /
* @ref AVFilterFormatsConfig.samplerates "outcfg.samplerates"
* and @ref AVFilterFormatsConfig.channel_layouts "incfg.channel_layouts"
* /
* @ref AVFilterFormatsConfig.channel_layouts "outcfg.channel_layouts"
* analogously.
* *
* This callback must never be NULL if the union is in this state. * This callback must never be NULL if the union is in this state.
* *