]> git.sesse.net Git - casparcg/commitdiff
2.0. layer: Set frame_number to 0 on stop.
authorronag <ronag@362d55ac-95cf-4e76-9f9a-cbaa9c17b72d>
Fri, 12 Aug 2011 07:36:09 +0000 (07:36 +0000)
committerronag <ronag@362d55ac-95cf-4e76-9f9a-cbaa9c17b72d>
Fri, 12 Aug 2011 07:36:09 +0000 (07:36 +0000)
git-svn-id: https://casparcg.svn.sourceforge.net/svnroot/casparcg/server/branches/2.0.0.2@1147 362d55ac-95cf-4e76-9f9a-cbaa9c17b72d

core/producer/layer.cpp

index a3d67e5a1512eb8062dc3408cc51529df27f8739..4611bb701f3ef2b37586f6b6d7f42e501de5aa0e 100644 (file)
@@ -81,6 +81,7 @@ public:
        void stop()\r
        {\r
                foreground_ = frame_producer::empty();\r
+               frame_number_ = 0;\r
        }\r
                \r
        safe_ptr<basic_frame> receive()\r