\r
#include "media.h"\r
\r
+#include <common/exception/exceptions.h>\r
+\r
#include <core/producer/color/color_producer.h>\r
#include <core/producer/ffmpeg/ffmpeg_producer.h>\r
#include <core/producer/flash/cg_producer.h>\r
return producer != frame_producer::empty();\r
});\r
\r
+ if(producer == frame_producer::empty())\r
+ BOOST_THROW_EXCEPTION(file_not_found() << msg_info("No match found for supplied commands. Check syntax."));\r
+\r
return producer;\r
}\r
\r
}\r
return consumer != frame_consumer::empty();\r
});\r
+ \r
+ if(consumer == frame_consumer::empty())\r
+ BOOST_THROW_EXCEPTION(file_not_found() << msg_info("No match found for supplied commands. Check syntax."));\r
\r
return consumer;\r
}\r