[FFmpeg-cvslog] avfilter: Fix doxy references

Marvin Scholz git at videolan.org
Mon Oct 17 11:01:23 EEST 2022


ffmpeg | branch: master | Marvin Scholz <epirat07 at gmail.com> | Sat Sep 24 22:08:21 2022 +0200| [60224f203f9ead787dccc2ad826cecb3728a26ec] | committer: Anton Khirnov

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.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=60224f203f9ead787dccc2ad826cecb3728a26ec
---

 libavfilter/avfilter.h | 21 ++++++++++++++-------
 1 file changed, 14 insertions(+), 7 deletions(-)

diff --git a/libavfilter/avfilter.h b/libavfilter/avfilter.h
index 2e8197c9a6..6d68ebece4 100644
--- a/libavfilter/avfilter.h
+++ b/libavfilter/avfilter.h
@@ -313,13 +313,20 @@ typedef struct AVFilter {
          * and outputs are fixed), shortly before the format negotiation. This
          * callback may be called more than once.
          *
-         * This callback must set AVFilterLink.outcfg.formats on every input link
-         * and AVFilterLink.incfg.formats on every output link to a list of
-         * pixel/sample formats that the filter supports on that link. For audio
-         * links, this filter must also set @ref AVFilterLink.incfg.samplerates
-         * "in_samplerates" / @ref AVFilterLink.outcfg.samplerates "out_samplerates"
-         * and @ref AVFilterLink.incfg.channel_layouts "in_channel_layouts" /
-         * @ref AVFilterLink.outcfg.channel_layouts "out_channel_layouts" analogously.
+         * This callback must set ::AVFilterLink's
+         * @ref AVFilterFormatsConfig.formats "outcfg.formats"
+         * on every input link and
+         * @ref AVFilterFormatsConfig.formats "incfg.formats"
+         * on every output link to a list of pixel/sample formats that the filter
+         * supports on that link.
+         * 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.
          *



More information about the ffmpeg-cvslog mailing list