[FFmpeg-cvslog] lavfi: document that AVFilterLink is not for applications.

Nicolas George git at videolan.org
Thu Jan 12 15:15:30 EET 2017


ffmpeg | branch: master | Nicolas George <george at nsup.org> | Tue Dec 27 17:18:33 2016 +0100| [485617ea0f7bfe3715389b23edf977ffef293d15] | committer: Nicolas George

lavfi: document that AVFilterLink is not for applications.

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

 libavfilter/avfilter.h | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/libavfilter/avfilter.h b/libavfilter/avfilter.h
index 02df8a3..649bbe6 100644
--- a/libavfilter/avfilter.h
+++ b/libavfilter/avfilter.h
@@ -383,6 +383,11 @@ struct AVFilterContext {
  * the pads involved. In addition, this link also contains the parameters
  * which have been negotiated and agreed upon between the filter, such as
  * image dimensions, format, etc.
+ *
+ * Applications must not normally access the link structure directly.
+ * Use the buffersrc and buffersink API instead.
+ * In the future, access to the header may be reserved for filters
+ * implementation.
  */
 struct AVFilterLink {
     AVFilterContext *src;       ///< source filter



More information about the ffmpeg-cvslog mailing list