From 32cd8ffb795f8848a51365e4ab00a4a676b4123c Mon Sep 17 00:00:00 2001 From: Helge Norberg Date: Wed, 25 Nov 2015 20:44:25 +0100 Subject: [PATCH] Fixed bug where format_desc of channel_grid channel was not used as output format in channel_producer, but rather the input format_desc. --- protocol/amcp/AMCPCommandsImpl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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++; -- 2.39.2