[FFmpeg-cvslog] lavfi/avfilter: remove now unused {src, cur, out}_buf.

Clément Bœsch git at videolan.org
Sun Jan 6 04:18:58 CET 2013


ffmpeg | branch: master | Clément Bœsch <ubitux at gmail.com> | Sun Jan  6 04:14:53 2013 +0100| [aaf59766b919b31f791ea838217024b66a3313d1] | committer: Clément Bœsch

lavfi/avfilter: remove now unused {src,cur,out}_buf.

This was supposed to be removed in 565e4993, but it was delayed due to
the port of the remaining filters. These buffer ref pointers are not
used anymore, thus dropped.

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

 libavfilter/avfilter.h |   45 ---------------------------------------------
 1 file changed, 45 deletions(-)

diff --git a/libavfilter/avfilter.h b/libavfilter/avfilter.h
index 900afbb..1c80167 100644
--- a/libavfilter/avfilter.h
+++ b/libavfilter/avfilter.h
@@ -583,51 +583,6 @@ struct AVFilterLink {
         AVLINK_INIT             ///< complete
     } init_state;
 
-    /**
-     * The buffer reference currently being sent across the link by the source
-     * filter. This is used internally by the filter system to allow
-     * automatic copying of buffers which do not have sufficient permissions
-     * for the destination. This should not be accessed directly by the
-     * filters.
-     */
-    AVFilterBufferRef *src_buf;
-
-    /**
-     * The buffer reference to the frame sent across the link by the
-     * source filter, which is read by the destination filter. It is
-     * automatically set up by ff_start_frame().
-     *
-     * Depending on the permissions, it may either be the same as
-     * src_buf or an automatic copy of it.
-     *
-     * It is automatically freed by the filter system when calling
-     * ff_end_frame(). In case you save the buffer reference
-     * internally (e.g. if you cache it for later reuse), or give it
-     * away (e.g. if you pass the reference to the next filter) it
-     * must be set to NULL before calling ff_end_frame().
-     */
-    AVFilterBufferRef *cur_buf;
-
-    /**
-     * The buffer reference to the frame which is sent to output by
-     * the source filter.
-     *
-     * If no start_frame callback is defined on the link destination pad,
-     * ff_start_frame() will automatically request a new buffer on the
-     * first output link of the destination filter. The reference to
-     * the buffer so obtained is stored in the out_buf field on the
-     * output link.
-     *
-     * It can also be set by the filter code in case the filter needs
-     * to access the output buffer later. For example the filter code
-     * may set it in a custom start_frame, and access it in
-     * draw_slice.
-     *
-     * It is automatically freed by the filter system in
-     * ff_end_frame().
-     */
-    AVFilterBufferRef *out_buf;
-
     struct AVFilterPool *pool;
 
     /**



More information about the ffmpeg-cvslog mailing list