[FFmpeg-devel] [PATCH 3/6] buffersink: group libav API functions.

Nicolas George nicolas.george at normalesup.org
Mon Jun 25 00:35:57 CEST 2012


Signed-off-by: Nicolas George <nicolas.george at normalesup.org>
---
 libavfilter/buffersink.h |   14 ++++++++++++--
 1 file changed, 12 insertions(+), 2 deletions(-)

diff --git a/libavfilter/buffersink.h b/libavfilter/buffersink.h
index 97729bc..d92b903 100644
--- a/libavfilter/buffersink.h
+++ b/libavfilter/buffersink.h
@@ -91,6 +91,11 @@ int av_buffersink_get_buffer_ref(AVFilterContext *buffer_sink,
  */
 int av_buffersink_poll_frame(AVFilterContext *ctx);
 
+/**
+ * Get the frame rate of the input.
+ */
+AVRational av_buffersink_get_frame_rate(AVFilterContext *ctx);
+
 #if FF_API_OLD_VSINK_API
 /**
  * @deprecated Use av_buffersink_get_buffer_ref() instead.
@@ -101,6 +106,12 @@ int av_vsink_buffer_get_video_buffer_ref(AVFilterContext *buffer_sink,
 #endif
 
 /**
+ * @defgroup libav_api Libav API
+ * @{
+ */
+
+
+/**
  * Get a buffer with filtered data from sink and put it in buf.
  *
  * @param sink pointer to a context of a buffersink or abuffersink AVFilter.
@@ -134,8 +145,7 @@ int av_buffersink_read_samples(AVFilterContext *ctx, AVFilterBufferRef **buf,
                                int nb_samples);
 
 /**
- * Get the frame rate of the input.
+ * @}
  */
-AVRational av_buffersink_get_frame_rate(AVFilterContext *ctx);
 
 #endif /* AVFILTER_BUFFERSINK_H */
-- 
1.7.10



More information about the ffmpeg-devel mailing list