History

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.

Marvin Scholz committed 4 years ago

Commit 60224f21 parent 436879a1 file · +14 −7Browse files

Unified · Split

libavfilter/avfilter.h+14−7
@@ -313,13 +313,20 @@ typedef struct AVFilter { · 312 unmodified lines
313313 * and outputs are fixed), shortly before the format negotiation. This
314314 * callback may be called more than once.
315315 *
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.
323330 *
324331 * This callback must never be NULL if the union is in this state.
325332 *

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