X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=modules%2Fogl%2Fogl.cpp;h=0949dd5b60e6c29b83e13665ea2de69d47c993d1;hb=506692e3934312a115362bb968260fed0786348d;hp=08e9f3ede63059141d910a70d0d2c8cafc467011;hpb=ac7b3acb915f90de6b224e54a2240023fc221e5a;p=casparcg diff --git a/modules/ogl/ogl.cpp b/modules/ogl/ogl.cpp index 08e9f3ede..0949dd5b6 100644 --- a/modules/ogl/ogl.cpp +++ b/modules/ogl/ogl.cpp @@ -1,33 +1,36 @@ /* -* copyright (c) 2010 Sveriges Television AB +* Copyright 2013 Sveriges Television AB http://casparcg.com/ * -* This file is part of CasparCG. +* This file is part of CasparCG (www.casparcg.com). * -* CasparCG is free software: you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published by -* the Free Software Foundation, either version 3 of the License, or -* (at your option) any later version. +* CasparCG is free software: you can redistribute it and/or modify +* it under the terms of the GNU General Public License as published by +* the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. * -* CasparCG is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU General Public License for more details. - -* You should have received a copy of the GNU General Public License -* along with CasparCG. If not, see . +* CasparCG is distributed in the hope that it will be useful, +* but WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +* GNU General Public License for more details. +* +* You should have received a copy of the GNU General Public License +* along with CasparCG. If not, see . * +* Author: Robert Nagy, ronag89@gmail.com */ + #include "ogl.h" #include "consumer/ogl_consumer.h" +#include #include namespace caspar { namespace ogl { void init() { - caspar::core::register_consumer_factory([](const std::vector& params){return create_consumer(params);}); + caspar::core::register_consumer_factory([](const core::parameters& params){return ogl::create_consumer(params);}); } }} \ No newline at end of file