cerr -> log
authorCarl Hetherington <cth@carlh.net>
Sat, 27 Oct 2012 00:24:48 +0000 (01:24 +0100)
committerCarl Hetherington <cth@carlh.net>
Sat, 27 Oct 2012 00:24:48 +0000 (01:24 +0100)
src/lib/decoder.cc

index 358109a7e081dad3d180aaea8db72778295b6532..acd3400f0718ef2fe705668e69ceae1cda59dc49 100644 (file)
@@ -286,7 +286,7 @@ Decoder::process_video (AVFrame* frame)
        if (i == _filter_graphs.end ()) {
                graph.reset (new FilterGraph (_film, this, _opt->apply_crop, Size (frame->width, frame->height), (AVPixelFormat) frame->format));
                _filter_graphs.push_back (graph);
-               std::cout << "NEW GRAPH for " << frame->width << "x" << frame->height << " " << frame->format << "\n";
+               _film->log()->log (String::compose ("New graph for %1x%2, pixel format %3", frame->width, frame->height, frame->format));
        } else {
                graph = *i;
        }