From 65cd9738e069023ae00d84b46d8eac74b016895c Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Tue, 30 Apr 2013 16:46:21 +0100 Subject: [PATCH] Fix reffing of the AVFrame output by the decoder. --- src/lib/filter_graph.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/filter_graph.cc b/src/lib/filter_graph.cc index 47f99da14..f0c49b37c 100644 --- a/src/lib/filter_graph.cc +++ b/src/lib/filter_graph.cc @@ -134,7 +134,7 @@ FilterGraph::process (AVFrame* frame) { list > images; - if (av_buffersrc_add_frame (_buffer_src_context, frame) < 0) { + if (av_buffersrc_write_frame (_buffer_src_context, frame) < 0) { throw DecodeError (N_("could not push buffer into filter chain.")); } -- 2.30.2