X-Git-Url: https://main.carlh.net/gitweb/?p=dcpomatic.git;a=blobdiff_plain;f=src%2Flib%2Ffilter_graph.cc;h=daceeaf2d96924b97fb5af633927e73e04fdd2f7;hp=52826f3d0566cb0a4745a6472fb201b0c4d5a101;hb=5eb8b5c3a1566aef638e9d9df03b88d320735092;hpb=ecd946722a74917ecda3f9e7b73b3b0be6b5e8ca diff --git a/src/lib/filter_graph.cc b/src/lib/filter_graph.cc index 52826f3d0..daceeaf2d 100644 --- a/src/lib/filter_graph.cc +++ b/src/lib/filter_graph.cc @@ -111,8 +111,9 @@ FilterGraph::setup (vector filters) throw DecodeError (N_("could not set up filter graph.")); } - if (avfilter_graph_config (_graph, 0) < 0) { - throw DecodeError (N_("could not configure filter graph.")); + int e = avfilter_graph_config (_graph, 0); + if (e < 0) { + throw DecodeError (String::compose (N_("could not configure filter graph (%1)"), e)); } }