]> 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>
Sat, 4 Feb 2012 16:57:19 +0000 (16:57 +0000)
committerronag <ronag@362d55ac-95cf-4e76-9f9a-cbaa9c17b72d>
Sat, 4 Feb 2012 16:57:19 +0000 (16:57 +0000)
core/producer/frame_producer.cpp

index 105b1dc6925500f0bf315e7f648ff3741909366b..7f3d0d26d0a522e93c7329682fba5612d48a6613 100644 (file)
@@ -197,6 +197,9 @@ spl::shared_ptr<core::frame_producer> do_create_producer(const spl::shared_ptr<f
 \r
        if(producer == frame_producer::empty())\r
                producer = create_color_producer(my_frame_factory, params);\r
+\r
+       if(producer == frame_producer::empty())\r
+               return producer;\r
                \r
        return spl::make_shared<destroy_producer_proxy>(spl::make_shared<print_producer_proxy>(std::move(producer)));\r
 }\r