diff options
Diffstat (limited to 'rotord/src/rotor.h')
| -rwxr-xr-x | rotord/src/rotor.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/rotord/src/rotor.h b/rotord/src/rotor.h index ae6b849..2b18061 100755 --- a/rotord/src/rotor.h +++ b/rotord/src/rotor.h @@ -800,14 +800,20 @@ namespace Rotor { base_settings(settings); if (attributes["filename"]->value!=""){ string filewithpath=find_setting(settings,"media_path","")+attributes["filename"]->value; - image.read_file(filewithpath); + if (image.read_file(filewithpath)) { + cerr<<"Still_image: loaded "<<filewithpath<<endl; + } + else cerr<<"Still_image: could not load "<<filewithpath<<endl; } }; ~Still_image(){ }; Still_image* clone(map<string,string> &_settings) { return new Still_image(_settings);}; Image *output(const Frame_spec &frame){ - + if (!image.rgb.empty()){ + + } + else return nullptr; } private: }; |
