1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-11-23 21:54:53 +02:00

avfiltergraph: add avfilter_graph_request_oldest().

Keep a heap of all sink links ordered by timestamps.
This commit is contained in:
Nicolas George
2012-04-18 11:02:22 +02:00
parent e0761feec4
commit 2ce7972779
5 changed files with 158 additions and 8 deletions

View File

@@ -65,6 +65,11 @@ int ff_avfilter_graph_config_links(AVFilterGraph *graphctx, AVClass *log_ctx);
*/
int ff_avfilter_graph_config_formats(AVFilterGraph *graphctx, AVClass *log_ctx);
/**
* Update the position of a link in the age heap.
*/
void ff_avfilter_graph_update_heap(AVFilterGraph *graph, AVFilterLink *link);
/** default handler for freeing audio/video buffer when there are no references left */
void ff_avfilter_default_free_buffer(AVFilterBuffer *buf);