Commit a2bd8a93 authored by Nicolas George's avatar Nicolas George

buffersink: group libav API functions.

parent e6674e46
...@@ -88,6 +88,16 @@ int av_buffersink_get_buffer_ref(AVFilterContext *buffer_sink, ...@@ -88,6 +88,16 @@ int av_buffersink_get_buffer_ref(AVFilterContext *buffer_sink,
*/ */
int av_buffersink_poll_frame(AVFilterContext *ctx); int av_buffersink_poll_frame(AVFilterContext *ctx);
/**
* Get the frame rate of the input.
*/
AVRational av_buffersink_get_frame_rate(AVFilterContext *ctx);
/**
* @defgroup libav_api Libav API
* @{
*/
/** /**
* Get a buffer with filtered data from sink and put it in buf. * Get a buffer with filtered data from sink and put it in buf.
* *
...@@ -122,8 +132,7 @@ int av_buffersink_read_samples(AVFilterContext *ctx, AVFilterBufferRef **buf, ...@@ -122,8 +132,7 @@ int av_buffersink_read_samples(AVFilterContext *ctx, AVFilterBufferRef **buf,
int nb_samples); int nb_samples);
/** /**
* Get the frame rate of the input. * @}
*/ */
AVRational av_buffersink_get_frame_rate(AVFilterContext *ctx);
#endif /* AVFILTER_BUFFERSINK_H */ #endif /* AVFILTER_BUFFERSINK_H */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment