summaryrefslogtreecommitdiff
path: root/rotord/src
diff options
context:
space:
mode:
authorTim Redfern <tim@eclectronics.org>2013-11-07 14:01:27 +0000
committerTim Redfern <tim@eclectronics.org>2013-11-07 14:01:27 +0000
commita1a44a5308793085ccac989522cfe72685143005 (patch)
tree48f09dca724b566b0e0d2f51aa6404bf9ae0c8c5 /rotord/src
parent519777db8e31c7650ffe73969b4fffde69a79a94 (diff)
video bank
Diffstat (limited to 'rotord/src')
-rw-r--r--rotord/src/rotor.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/rotord/src/rotor.h b/rotord/src/rotor.h
index 78327f7..a4b3249 100644
--- a/rotord/src/rotor.h
+++ b/rotord/src/rotor.h
@@ -631,12 +631,12 @@ namespace Rotor {
int thisframe=((Time_spec)frame).frame();
float clipframerate=(parameters["framerate"]->value==0.0f?player.get_framerate():parameters["framerate"]->value);
float clipspeed=(clipframerate/frame.framerate)*parameters["speed"]->value;
- switch (attributes["frame_mode"]->intVal){
+ switch (attributes["time_mode"]->intVal){
case VIDEOTIME_play:
if(thisframe==lastframe||thisframe==lastframe+1){
if (segment!=seg){
//start of new segment
- cerr<<"segment "<<seg<<" started: "<<((Time_spec)frame).time<<endl;
+ cerr<<"Video_bank: segment "<<seg<<" started: "<<((Time_spec)frame).time<<endl;
segment=seg;
segment_start=((Time_spec)frame).time;
}