Use dcp::compose rather than our own.
[dcpomatic.git] / src / lib / video_filter_graph.cc
index a61da6773bbb8517330895aa2a8b01eae3e39c76..87915fff7d09ba7f09c6d465b63ae554c79429f7 100644 (file)
 */
 
 
-#include "compose.hpp"
 #include "image.h"
 #include "video_filter_graph.h"
 #include "warnings.h"
+#include <dcp/compose.h>
 extern "C" {
 #include <libavfilter/buffersrc.h>
 #include <libavfilter/buffersink.h>
@@ -63,7 +63,7 @@ VideoFilterGraph::process (AVFrame* frame)
        } else {
                int r = av_buffersrc_write_frame (_buffer_src_context, frame);
                if (r < 0) {
-                       throw DecodeError (String::compose(N_("could not push buffer into filter chain (%1)."), r));
+                       throw DecodeError (dcp::compose(N_("could not push buffer into filter chain (%1)."), r));
                }
 
                while (true) {