set the timeline to a specific time
| 1073 | |
| 1074 | /// set the timeline to a specific time |
| 1075 | void |
| 1076 | OfxImageEffectInstance::timeLineGotoTime(double t) |
| 1077 | { |
| 1078 | OfxEffectInstancePtr effect = getOfxEffectInstance(); |
| 1079 | |
| 1080 | effect->updateThreadLocalRenderTime(t); |
| 1081 | |
| 1082 | ///Calling seek will force a re-render of the frame T so we wipe the overlay redraw needed counter |
| 1083 | bool redrawNeeded = effect->checkIfOverlayRedrawNeeded(); |
| 1084 | Q_UNUSED(redrawNeeded); |
| 1085 | |
| 1086 | effect->getApp()->getTimeLine()->seekFrame( (int)t, false, 0, eTimelineChangeReasonOtherSeek ); |
| 1087 | } |
| 1088 | |
| 1089 | /// get the first and last times available on the effect's timeline |
| 1090 | void |
nothing calls this directly
no test coverage detected