]> git.sesse.net Git - ffmpeg/blobdiff - libavfilter/vsrc_buffer.h
aresample: add code to flush the internal swr buffer.
[ffmpeg] / libavfilter / vsrc_buffer.h
index 7f25c9868d58e2ae30b7638dcb2431f4a5c1fc20..e75252423ea9ec58862d2484e8490658c2995a4a 100644 (file)
@@ -24,6 +24,8 @@
 /**
  * @file
  * memory buffer source API for video
+ *
+ * @deprecated use buffersrc.h instead.
  */
 
 #include "avfilter.h"
  * @param flags a combination of AV_VSRC_BUF_FLAG_* flags
  * @return >= 0 in case of success, a negative AVERROR code in case of
  * failure
+ *
+ * @deprecated use av_buffersrc_add_ref() instead.
  */
+attribute_deprecated
 int av_vsrc_buffer_add_video_buffer_ref(AVFilterContext *buffer_src,
                                         AVFilterBufferRef *picref, int flags);
 
@@ -52,7 +57,10 @@ int av_vsrc_buffer_add_video_buffer_ref(AVFilterContext *buffer_src,
  * A failed request is when the request_frame method is called while no
  * frame is present in the buffer.
  * The number is reset when a frame is added.
+ *
+ * @deprecated use av_buffersrc_get_nb_failed_requests() instead.
  */
+attribute_deprecated
 unsigned av_vsrc_buffer_get_nb_failed_requests(AVFilterContext *buffer_src);
 
 #endif /* AVFILTER_VSRC_BUFFER_H */