diff options
| author | Comment <tim@gray.(none)> | 2013-10-16 20:09:25 -0700 |
|---|---|---|
| committer | Comment <tim@gray.(none)> | 2013-10-16 20:09:25 -0700 |
| commit | ea30d63f0f999bde01df1904df1d5ddf22deea65 (patch) | |
| tree | c48a9ca7df27ffe6a90e94a6bf836103fa12b2cc /rotord/src/rotor.h | |
| parent | fa1a3122c2c2b07daa5b03c7def8f31a1e5a89fc (diff) | |
fix paths regression
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){ |
