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

index f4984bc83031f0c5ba76c0803433b66543ff8dc7..8ebbfbf5dbbfe356af3bafce0a8e0370af683cee 100644 (file)
@@ -66,13 +66,13 @@ struct frame_producer_base::impl
                if(paused_)\r
                        return self_.last_frame();\r
 \r
-               auto frame = draw_frame::push(self_.receive_impl());\r
+               auto frame = self_.receive_impl();\r
                if(frame == draw_frame::late())\r
                        return frame;\r
 \r
                ++frame_number_;\r
 \r
-               return last_frame_ = frame;\r
+               return last_frame_ = draw_frame::push(frame);\r
        }\r
 \r
        void paused(bool value)\r