]> git.sesse.net Git - casparcg/commitdiff
flash_producer: Increased buffer size to 4/2.
authorronag <ronag@362d55ac-95cf-4e76-9f9a-cbaa9c17b72d>
Thu, 9 Feb 2012 19:46:06 +0000 (19:46 +0000)
committerronag <ronag@362d55ac-95cf-4e76-9f9a-cbaa9c17b72d>
Thu, 9 Feb 2012 19:46:06 +0000 (19:46 +0000)
git-svn-id: https://casparcg.svn.sourceforge.net/svnroot/casparcg/server/trunk@2321 362d55ac-95cf-4e76-9f9a-cbaa9c17b72d

modules/flash/producer/flash_producer.cpp

index 45506340f11358e575645ee1eeb4d4b0419fbde2..058237b4b008af4b185f9c66a30929e664dd9ddc 100644 (file)
@@ -340,7 +340,7 @@ public:
                , last_frame_(core::basic_frame::empty())\r
                , width_(width > 0 ? width : frame_factory->get_video_format_desc().width)\r
                , height_(height > 0 ? height : frame_factory->get_video_format_desc().height)\r
-               , buffer_size_(env::properties().get(L"configuration.flash.buffer-depth", frame_factory_->get_video_format_desc().fps > 30.0 ? 3 : 2))\r
+               , buffer_size_(env::properties().get(L"configuration.flash.buffer-depth", frame_factory_->get_video_format_desc().fps > 30.0 ? 4 : 2))\r
                , executor_(L"flash_producer")\r
        {       \r
                sync_ = true;\r