]> git.sesse.net Git - casparcg/commitdiff
git-svn-id: https://casparcg.svn.sourceforge.net/svnroot/casparcg/server/branches...
authorronag <ronag@362d55ac-95cf-4e76-9f9a-cbaa9c17b72d>
Mon, 13 Feb 2012 10:55:50 +0000 (10:55 +0000)
committerronag <ronag@362d55ac-95cf-4e76-9f9a-cbaa9c17b72d>
Mon, 13 Feb 2012 10:55:50 +0000 (10:55 +0000)
core/consumer/output.cpp

index 60fd4bc1818f24f41afbd81bc1eb74723e300c39..4300b32fbbfb93d7ad02ffaf993836e2274a64ed 100644 (file)
@@ -165,7 +165,7 @@ public:
                                        \r
                        auto minmax = minmax_buffer_depth();\r
 \r
-                       frames_.set_capacity(std::max(1, minmax.second - minmax.first) + 1); // std::max(1, x) since we want to guarantee some pipeline depth for asycnhronous mixer read-back.\r
+                       frames_.set_capacity(std::max(2, minmax.second - minmax.first) + 1); // std::max(1, x) since we want to guarantee some pipeline depth for asycnhronous mixer read-back.\r
                        frames_.push_back(input_frame);\r
 \r
                        if(!frames_.full())\r