[FFmpeg-devel] [PATCH 4/5] lavfi: remove AVFilterPad.poll_frame().

Nicolas George george at nsup.org
Mon Dec 2 18:40:55 EET 2019


This design is no longer used and was replaced a long time ago.

Signed-off-by: Nicolas George <george at nsup.org>
---
 libavfilter/internal.h | 11 -----------
 1 file changed, 11 deletions(-)

diff --git a/libavfilter/internal.h b/libavfilter/internal.h
index f98127c442..abe7537b5d 100644
--- a/libavfilter/internal.h
+++ b/libavfilter/internal.h
@@ -92,17 +92,6 @@ struct AVFilterPad {
      */
     int (*filter_frame)(AVFilterLink *link, AVFrame *frame);
 
-    /**
-     * Frame poll callback. This returns the number of immediately available
-     * samples. It should return a positive value if the next request_frame()
-     * is guaranteed to return one frame (with no delay).
-     *
-     * Defaults to just calling the source poll_frame() method.
-     *
-     * Output pads only.
-     */
-    int (*poll_frame)(AVFilterLink *link);
-
     /**
      * Frame request callback. A call to this should result in some progress
      * towards producing output over the given link. This should return zero
-- 
2.24.0



More information about the ffmpeg-devel mailing list