]> git.sesse.net Git - casparcg/commitdiff
#252
authorHelge Norberg <helge.norberg@gmail.com>
Thu, 26 Jun 2014 16:21:31 +0000 (18:21 +0200)
committerHelge Norberg <helge.norberg@gmail.com>
Thu, 26 Jun 2014 16:21:31 +0000 (18:21 +0200)
Support for CG PLAY was missing.

modules/flash/producer/cg_producer.cpp

index 42a22421d58e1d84a81eb67aa348962427e43c47..c91181a2061c28c0c0a97d68afd1d54d0ab65c19 100644 (file)
@@ -138,18 +138,18 @@ public:
                                        what["DATA"].str());\r
                else if(boost::regex_match(str, what, remove_exp))\r
                        return remove(boost::lexical_cast<int>(what["LAYER"].str()));\r
+               else if(boost::regex_match(str, what, play_exp))\r
+                       return play(boost::lexical_cast<int>(what["LAYER"].str()));\r
                else if(boost::regex_match(str, what, stop_exp))\r
                        return stop(boost::lexical_cast<int>(what["LAYER"].str()), 0);\r
                else if(boost::regex_match(str, what, next_exp))\r
                        return next(boost::lexical_cast<int>(what["LAYER"].str()));\r
                else if(boost::regex_match(str, what, update_exp))\r
                        return update(boost::lexical_cast<int>(what["LAYER"].str()), what["DATA"].str());\r
-               else if(boost::regex_match(str, what, next_exp))\r
+               else if(boost::regex_match(str, what, invoke_exp))\r
                        return invoke(boost::lexical_cast<int>(what["LAYER"].str()), what["LABEL"].str());\r
                else if(boost::regex_match(str, what, description_exp))\r
                        return description(boost::lexical_cast<int>(what["LAYER"].str()));\r
-               else if(boost::regex_match(str, what, invoke_exp))\r
-                       return invoke(boost::lexical_cast<int>(what["LAYER"].str()), what["LABEL"].str());\r
                else if(boost::regex_match(str, what, info_exp))\r
                        return template_host_info(); \r
 \r