]> git.sesse.net Git - ffmpeg/blobdiff - libavfilter/buffersrc.h
Merge commit '3ad825793a43253154bed05827f27425fc0757df'
[ffmpeg] / libavfilter / buffersrc.h
index e42c78196bd85dd4fe638323e52c074acac4b8c7..0652113f2bc1326ed93362093d604ea3920ca5b9 100644 (file)
@@ -193,6 +193,14 @@ av_warn_unused_result
 int av_buffersrc_add_frame_flags(AVFilterContext *buffer_src,
                                  AVFrame *frame, int flags);
 
+/**
+ * Close the buffer source after EOF.
+ *
+ * This is similar to passing NULL to av_buffersrc_add_frame_flags()
+ * except it takes the timestamp of the EOF, i.e. the timestamp of the end
+ * of the last frame.
+ */
+int av_buffersrc_close(AVFilterContext *ctx, int64_t pts, unsigned flags);
 
 /**
  * @}