]> git.sesse.net Git - casparcg/commitdiff
2.1.0: Fixed incorrect "invalid consumer" message.
authorronag <ronag@362d55ac-95cf-4e76-9f9a-cbaa9c17b72d>
Mon, 6 Feb 2012 13:03:57 +0000 (13:03 +0000)
committerronag <ronag@362d55ac-95cf-4e76-9f9a-cbaa9c17b72d>
Mon, 6 Feb 2012 13:03:57 +0000 (13:03 +0000)
git-svn-id: https://casparcg.svn.sourceforge.net/svnroot/casparcg/server/branches/2.1.0@2272 362d55ac-95cf-4e76-9f9a-cbaa9c17b72d

shell/server.cpp

index 2d2a9969fa711f81a1ead78500b3e7852bc3944a..ba1d18e7c8bb494d98fa9766545b35d8bf02c0a2 100644 (file)
@@ -128,7 +128,7 @@ struct server::impl : boost::noncopyable
                                        auto name = xml_consumer.first;\r
                                        if(name == L"screen")\r
                                                channels_.back()->output()->add(caspar::screen::create_consumer(xml_consumer.second));                                  \r
-                                       if(name == L"bluefish")                                 \r
+                                       else if(name == L"bluefish")                                    \r
                                                channels_.back()->output()->add(bluefish::create_consumer(xml_consumer.second));                                        \r
                                        else if(name == L"decklink")                                    \r
                                                channels_.back()->output()->add(decklink::create_consumer(xml_consumer.second));                                \r