diff options
Diffstat (limited to 'rotord/src/rotor.h')
| -rw-r--r-- | rotord/src/rotor.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/rotord/src/rotor.h b/rotord/src/rotor.h index 65f06ac..eb8dce9 100644 --- a/rotord/src/rotor.h +++ b/rotord/src/rotor.h @@ -907,7 +907,7 @@ namespace Rotor { isLoaded=false; segment=0; segment_start=0.0; - lastframe=0; + lastframe=-2; }; Video_bank(map<string,string> &settings): Video_bank() { base_settings(settings); @@ -934,10 +934,10 @@ namespace Rotor { } bool get_frame(double wanted,const Frame_spec &frame){ if (attributes["frame_mode"]->intVal==VIDEOFRAMES_blend){ - if (((int)wanted)!=Base_video::lastframe){ + if (((int)wanted)!=lastframe){ //get a new pair of frames possibly by switching the next one //darn peculiar, as if copying wasn't actually copying - if ((Base_video::lastframe==(((int)wanted)-1))&&(in2.w>0)) { + if ((lastframe==(((int)wanted)-1))&&(in2.w>0)) { in1=in2; } else { @@ -1055,7 +1055,6 @@ namespace Rotor { int clip_loaded; double segment_start; int segment; - int lastframe; }; class Video_output: public Image_node { //Video_output 'presents' the output movie. Aspect ratio, bars, fadein/fadeout would happen here |
