X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=shell%2Fserver.cpp;h=18a08461af183bbe50a6c4c0dedea6dbdd9485e3;hb=refs%2Ftags%2F2.0.0.2;hp=5d9bf906f80ffbf8e496804fa7c1b7a1b1030ff7;hpb=ac7b3acb915f90de6b224e54a2240023fc221e5a;p=casparcg diff --git a/shell/server.cpp b/shell/server.cpp index 5d9bf906f..18a08461a 100644 --- a/shell/server.cpp +++ b/shell/server.cpp @@ -62,9 +62,9 @@ using namespace protocol; struct server::implementation : boost::noncopyable { + ogl_device ogl_; std::vector> async_servers_; std::vector> channels_; - ogl_device ogl_; implementation() { @@ -114,7 +114,7 @@ struct server::implementation : boost::noncopyable channels_.back()->output()->add(index++, decklink::create_consumer(xml_consumer.second)); //else if(name == "file") // channels_.back()->output()->add(index++, create_ffmpeg_consumer(xml_consumer.second)); - else if(name == "audio") + else if(name == "system-audio") channels_.back()->output()->add(index++, oal::create_consumer()); else if(name != "") CASPAR_LOG(warning) << "Invalid consumer: " << widen(name);