<ClInclude Include="producer\image\image_producer.h" />\r
<ClInclude Include="producer\image\image_scroll_producer.h" />\r
<ClInclude Include="producer\layer.h" />\r
+ <ClInclude Include="producer\screen\screen_producer.h" />\r
<ClInclude Include="producer\transition\transition_producer.h" />\r
<ClInclude Include="video_format.h" />\r
<CustomBuildStep Include="consumers\bluefish\BluefishException.h" />\r
<PrecompiledHeaderFile Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">../StdAfx.h</PrecompiledHeaderFile>\r
<PreprocessToFile Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">false</PreprocessToFile>\r
</ClCompile>\r
+ <ClCompile Include="producer\screen\screen_producer.cpp">\r
+ <PrecompiledHeaderFile Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">../../StdAfx.h</PrecompiledHeaderFile>\r
+ <PrecompiledHeaderFile Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">../../StdAfx.h</PrecompiledHeaderFile>\r
+ </ClCompile>\r
<ClCompile Include="producer\transition\transition_producer.cpp">\r
<PrecompiledHeaderFile Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">../../StdAfx.h</PrecompiledHeaderFile>\r
<PrecompiledHeaderFile Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">../../StdAfx.h</PrecompiledHeaderFile>\r
<Filter Include="Source\consumer\ffmpeg">\r
<UniqueIdentifier>{b651856c-ff7e-4f90-be8a-32aba6094dbd}</UniqueIdentifier>\r
</Filter>\r
+ <Filter Include="Source\producer\screen">\r
+ <UniqueIdentifier>{eefc7a28-4013-458d-a91f-c822749984e8}</UniqueIdentifier>\r
+ </Filter>\r
</ItemGroup>\r
<ItemGroup>\r
<ClInclude Include="consumer\decklink\DeckLinkAPI_h.h">\r
<ClInclude Include="producer\layer.h">\r
<Filter>Source\producer</Filter>\r
</ClInclude>\r
+ <ClInclude Include="producer\screen\screen_producer.h">\r
+ <Filter>Source\producer\screen</Filter>\r
+ </ClInclude>\r
</ItemGroup>\r
<ItemGroup>\r
<ClCompile Include="consumer\decklink\DeckLinkAPI_i.c">\r
<ClCompile Include="producer\layer.cpp">\r
<Filter>Source\producer</Filter>\r
</ClCompile>\r
+ <ClCompile Include="producer\screen\screen_producer.cpp">\r
+ <Filter>Source\producer\screen</Filter>\r
+ </ClCompile>\r
</ItemGroup>\r
<ItemGroup>\r
<Midl Include="producer\flash\Flash9e.IDL">\r
\r
void tick()\r
{ \r
+ auto frames = draw();\r
output_func output;\r
{\r
tbb::spin_mutex::scoped_lock lock(output_mutex_);\r
output = output_;\r
}\r
- output(draw());\r
+ output(frames);\r
executor_.begin_invoke([=]{tick();});\r
}\r
\r
#include <core/producer/flash/cg_producer.h>\r
#include <core/producer/image/image_producer.h>\r
#include <core/producer/decklink/decklink_producer.h>\r
+#include <core/producer/screen/screen_producer.h>\r
\r
#include <core/consumer/bluefish/bluefish_consumer.h>\r
#include <core/consumer/decklink/decklink_consumer.h>\r
(&core::ffmpeg::create_ffmpeg_producer)\r
(&core::image::create_image_producer)\r
(&core::create_decklink_producer)\r
- (&core::create_color_producer);\r
+ (&core::create_color_producer)\r
+ (&core::create_screen_producer);\r
\r
if(params.empty())\r
BOOST_THROW_EXCEPTION(invalid_argument() << arg_name_info("params") << arg_value_info(""));\r