Changes to libdcp API.
[dcpomatic.git] / src / lib / filter_graph.cc
index 3d1996fb04ee023308d1c1047e6b866f58b0fa56..86f291fde6fd3ada1095d9a961cbe8125de64c5e 100644 (file)
@@ -149,7 +149,7 @@ FilterGraph::process (AVFrame* frame)
        } else {
                int r = av_buffersrc_write_frame (_buffer_src_context, frame);
                if (r < 0) {
-                       throw DecodeError (N_("could not push buffer into filter chain (%1)."), r);
+                       throw DecodeError (String::compose (N_("could not push buffer into filter chain (%1)."), r));
                }
                
                while (true) {