summaryrefslogtreecommitdiff
path: root/rotord/rotor.h
diff options
context:
space:
mode:
authorTim Redfern <tim@herge.(none)>2013-07-05 18:03:58 +0100
committerTim Redfern <tim@herge.(none)>2013-07-05 18:03:58 +0100
commit4d1989594aa1baed540643b118e7b25a42ea1de1 (patch)
treeae1e5e0b0510a0da05ed7237292af3074577824d /rotord/rotor.h
parent28cb6bdc4ad953433b7fc184181e116ac169987f (diff)
fixed bug that crashes with empty video slot
Diffstat (limited to 'rotord/rotor.h')
-rwxr-xr-xrotord/rotor.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/rotord/rotor.h b/rotord/rotor.h
index 93fab03..7409f19 100755
--- a/rotord/rotor.h
+++ b/rotord/rotor.h
@@ -641,10 +641,10 @@ namespace Rotor {
bool load(const string &filename);
Image *output(const Frame_spec &frame);
Video_loader* clone(map<string,string> &_settings) { return new Video_loader(_settings);};
+ bool isLoaded;
private:
libav::decoder player;
Image image;
- bool isLoaded;
};
class Video_cycler: public Image_node {
//cycles through video inputs in order