]> git.sesse.net Git - casparcg/commitdiff
Fixed bug where CG INVOKE no longer works in cg_producer.
authorHelge Norberg <helge.norberg@gmail.com>
Thu, 26 Jun 2014 16:09:37 +0000 (18:09 +0200)
committerHelge Norberg <helge.norberg@gmail.com>
Thu, 26 Jun 2014 16:09:37 +0000 (18:09 +0200)
modules/flash/producer/cg_producer.cpp

index 7d95cd49a7fc0cd525886a2bd58031e6cc4eacd1..42a22421d58e1d84a81eb67aa348962427e43c47 100644 (file)
@@ -130,20 +130,27 @@ public:
                \r
                boost::wsmatch what;\r
                if(boost::regex_match(str, what, add_exp))\r
-                       return add(boost::lexical_cast<int>(what["LAYER"].str()), what["FILENAME"].str(), boost::lexical_cast<bool>(what["PLAY_ON_LOAD"].str()), L"", what["DATA"].str()); \r
+                       return add(\r
+                                       boost::lexical_cast<int>(what["LAYER"].str()),\r
+                                       what["FILENAME"].str(),\r
+                                       boost::lexical_cast<bool>(what["PLAY_ON_LOAD"].str()),\r
+                                       L"",\r
+                                       what["DATA"].str());\r
                else if(boost::regex_match(str, what, remove_exp))\r
-                       return remove(boost::lexical_cast<int>(what["LAYER"].str())); \r
+                       return remove(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
+                       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
+                       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
+                       return update(boost::lexical_cast<int>(what["LAYER"].str()), what["DATA"].str());\r
                else if(boost::regex_match(str, what, next_exp))\r
-                       return invoke(boost::lexical_cast<int>(what["LAYER"].str()), what["LABEL"].str()); \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
+                       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
                return flash_producer_->call(str);\r