From: Helge Norberg Date: Wed, 25 Nov 2015 19:44:25 +0000 (+0100) Subject: Fixed bug where format_desc of channel_grid channel was not used as output format... X-Git-Tag: 2.1.0_Beta1~168 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=32cd8ffb795f8848a51365e4ab00a4a676b4123c;p=casparcg Fixed bug where format_desc of channel_grid channel was not used as output format in channel_producer, but rather the input format_desc. --- diff --git a/protocol/amcp/AMCPCommandsImpl.cpp b/protocol/amcp/AMCPCommandsImpl.cpp index d23cb6f54..fb4631f9d 100644 --- a/protocol/amcp/AMCPCommandsImpl.cpp +++ b/protocol/amcp/AMCPCommandsImpl.cpp @@ -2030,7 +2030,7 @@ std::wstring channel_grid_command(command_context& ctx) if (channel.channel != self.channel) { core::diagnostics::call_context::for_thread().layer = index; - auto producer = ctx.producer_registry->create_producer(get_producer_dependencies(channel.channel, ctx), L"route://" + boost::lexical_cast(channel.channel->index())); + auto producer = ctx.producer_registry->create_producer(get_producer_dependencies(self.channel, ctx), L"route://" + boost::lexical_cast(channel.channel->index())); self.channel->stage().load(index, producer, false); self.channel->stage().play(index); index++;