X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=core%2Fvideo_channel.cpp;h=10b4d5864b6d39810dd30e66e07f8e41b0353865;hb=refs%2Ftags%2F2.0.0.2;hp=682c98958090f469bd9ae76a549c8f94c7ce32f4;hpb=01d8a61541548cf535791be39d233799eefc4187;p=casparcg diff --git a/core/video_channel.cpp b/core/video_channel.cpp index 682c98958..10b4d5864 100644 --- a/core/video_channel.cpp +++ b/core/video_channel.cpp @@ -58,7 +58,6 @@ struct video_channel::implementation : boost::noncopyable public: implementation(int index, const video_format_desc& format_desc, ogl_device& ogl) : context_(index, ogl, format_desc) - , diag_(diagnostics::create_graph(narrow(print()))) , output_(new caspar::core::output(context_, [this]{restart();})) , mixer_(new caspar::core::mixer(context_)) , stage_(new caspar::core::stage(context_)) @@ -68,6 +67,8 @@ public: diag_->set_color("tick-time", diagnostics::color(0.0f, 0.6f, 0.9f)); diag_->set_color("output-time", diagnostics::color(1.0f, 0.5f, 0.0f)); diag_->set_color("mix-time", diagnostics::color(1.0f, 1.0f, 0.9f)); + diag_->set_text(print()); + diagnostics::register_graph(diag_); CASPAR_LOG(info) << print() << " Successfully Initialized."; context_.execution().begin_invoke([this]{tick();});