diff options
Diffstat (limited to 'rotord/src/rotor.h')
| -rw-r--r-- | rotord/src/rotor.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/rotord/src/rotor.h b/rotord/src/rotor.h index 82d7f37..cfdf80f 100644 --- a/rotord/src/rotor.h +++ b/rotord/src/rotor.h @@ -90,10 +90,6 @@ Requirements #include "cvimage.h" #include "libavwrapper.h" -static std::string media_dir; -static std::string graph_dir; -static std::string output_dir; - //using namespace cv; namespace Rotor { //forward declarations @@ -499,7 +495,7 @@ namespace Rotor { } void init_attribute(const string &attr){ if (attr=="filename") { - load(media_dir+attributes[attr]->value); + load(attributes["media_path"]->value+attributes[attr]->value); } }; Image *output(const Frame_spec &frame){ |
