diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-04-30 16:46:21 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-04-30 16:46:21 +0100 |
| commit | 65cd9738e069023ae00d84b46d8eac74b016895c (patch) | |
| tree | 0bcf3e35fff347632247e273238bf5b801cc312b /src | |
| parent | 32b21d67ae5b87c5840dd0f642840aa2e245a6ed (diff) | |
Fix reffing of the AVFrame output by the decoder.
Diffstat (limited to 'src')
| -rw-r--r-- | src/lib/filter_graph.cc | 2 |
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.")); } |
