graph_->set_text(print());\r
diagnostics::register_graph(graph_);\r
\r
- frame_buffer_.set_capacity(frame_factory_->get_video_format_desc().fps > 30.0 ? 2 : 1);\r
+ auto flash_buffer = env::properties().get(L"configuration.flash.buffer-depth", frame_factory_->get_video_format_desc().fps > 30.0 ? 2 : 1);\r
+ frame_buffer_.set_capacity(flash_buffer);\r
\r
executor_.begin_invoke([]\r
{\r
<?xml version="1.0" encoding="utf-8"?>\r
<configuration>\r
<paths>\r
- <media-path>media\</media-path>\r
- <log-path>log\</log-path>\r
- <data-path>data\</data-path>\r
- <template-path>templates\</template-path>\r
+ <media-path>media\</media-path>\r
+ <log-path>log\</log-path>\r
+ <data-path>data\</data-path>\r
+ <template-path>templates\</template-path>\r
</paths>\r
<channels>\r
<channel>\r
<height/>\r
</template-host>\r
</template-hosts>\r
+ <flash>\r
+ <buffer-depth>auto [auto|1..]</buffer-depth>\r
+ </flash>\r
<channels>\r
<channel>\r
<video-mode> PAL [PAL|NTSC|1080i5000|576p2500|720p2500|720p5000|720p5994|720p6000|1080i5000|1080i5994|1080i6000|1080p2500|1080p2997|1080p3000|1080p5000] </video-mode>\r