summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lib/filter_graph.cc2
1 files changed, 1 insertions, 1 deletions
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<shared_ptr<Image> > 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."));
}