diff options
| author | Comment <tim@gray.(none)> | 2014-02-16 22:44:26 +0000 |
|---|---|---|
| committer | Comment <tim@gray.(none)> | 2014-02-16 22:44:26 +0000 |
| commit | ae5e8541f6e06e64c28719467cdf366ac57aff31 (patch) | |
| tree | 33c9212e3846ec8f2ca468ea6b1516b210ed43ac /rotord/src | |
| parent | ad86bb9b35c8f2e96982b99356909e604b1058e2 (diff) | |
video proxy issue
Diffstat (limited to 'rotord/src')
| -rw-r--r-- | rotord/src/rotor.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/rotord/src/rotor.h b/rotord/src/rotor.h index 8499408..0053146 100644 --- a/rotord/src/rotor.h +++ b/rotord/src/rotor.h @@ -796,7 +796,7 @@ namespace Rotor { if (h>0&&h<721){ Poco::Path path(filename); std::string stub(path.getBaseName()+".proxies/"); - std::string suffix(path.getExtension()); + std::string suffix="mp4"; //(path.getExtension()); std::string pathto="/"; for (int i=0;i<path.depth();i++){ pathto=pathto+path[i]+"/"; @@ -920,9 +920,9 @@ namespace Rotor { media_path=find_setting(settings,"media_path",""); //for (auto a:attributes) cerr<<"Video loader: "<<a.first<<" set to "<<a.second->value<<endl; //in order to implement prescaled clips, need to know size when loading-> defer - if (attributes["filename"]->value!="") { - isLoaded=load(media_path+attributes["filename"]->value,720); - } + //if (attributes["filename"]->value!="") { + // isLoaded=load(media_path+attributes["filename"]->value,720); + //} }; ~Video_loader(){}; |
