added backend for disabling clips

This commit is contained in:
itsmattkc
2018-06-22 02:45:52 -07:00
parent 26f7b5a15d
commit 38ca51cf10
3 changed files with 4 additions and 1 deletions
+1 -1
View File
@@ -287,7 +287,7 @@ void retrieve_next_frame_raw_data(Clip* c, AVFrame* output) {
}
bool is_clip_active(Clip* c, long playhead) {
return c->timeline_in < playhead + ceil(c->sequence->frame_rate) && c->timeline_out > playhead;
return c->timeline_in < playhead + ceil(c->sequence->frame_rate) && c->timeline_out > playhead && c->enabled;
}
void set_sequence(Sequence* s) {