From 4d1989594aa1baed540643b118e7b25a42ea1de1 Mon Sep 17 00:00:00 2001 From: Tim Redfern Date: Fri, 5 Jul 2013 18:03:58 +0100 Subject: fixed bug that crashes with empty video slot --- rotord/rotor.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rotord/rotor.h') 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 &_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 -- cgit v1.2.3