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.
Unified · Split
| @@ -313,13 +313,20 @@ typedef struct AVFilter { · 312 unmodified lines | ||
| 313 | 313 | * and outputs are fixed), shortly before the format negotiation. This |
| 314 | 314 | * callback may be called more than once. |
| 315 | 315 | * |
| 316 | − * This callback must set AVFilterLink.outcfg.formats on every input link | |
| 317 | − * and AVFilterLink.incfg.formats on every output link to a list of | |
| 318 | − * pixel/sample formats that the filter supports on that link. For audio | |
| 319 | − * links, this filter must also set @ref AVFilterLink.incfg.samplerates | |
| 320 | − * "in_samplerates" / @ref AVFilterLink.outcfg.samplerates "out_samplerates" | |
| 321 | − * and @ref AVFilterLink.incfg.channel_layouts "in_channel_layouts" / | |
| 322 | − * @ref AVFilterLink.outcfg.channel_layouts "out_channel_layouts" analogously. | |
| 316 | + * This callback must set ::AVFilterLink's | |
| 317 | + * @ref AVFilterFormatsConfig.formats "outcfg.formats" | |
| 318 | + * on every input link and | |
| 319 | + * @ref AVFilterFormatsConfig.formats "incfg.formats" | |
| 320 | + * on every output link to a list of pixel/sample formats that the filter | |
| 321 | + * supports on that link. | |
| 322 | + * For audio links, this filter must also set | |
| 323 | + * @ref AVFilterFormatsConfig.samplerates "incfg.samplerates" | |
| 324 | + * / | |
| 325 | + * @ref AVFilterFormatsConfig.samplerates "outcfg.samplerates" | |
| 326 | + * and @ref AVFilterFormatsConfig.channel_layouts "incfg.channel_layouts" | |
| 327 | + * / | |
| 328 | + * @ref AVFilterFormatsConfig.channel_layouts "outcfg.channel_layouts" | |
| 329 | + * analogously. | |
| 323 | 330 | * |
| 324 | 331 | * This callback must never be NULL if the union is in this state. |
| 325 | 332 | * |