many changes, mostly to export

This commit is contained in:
itsmattkc
2018-06-06 03:30:22 -07:00
parent 81bf111037
commit 0ea7c43e53
26 changed files with 404 additions and 206 deletions
+9 -1
View File
@@ -71,6 +71,7 @@ void Timeline::seek(long p) {
c.frame_sample_index = 0;
}
clear_cache(true, true);
audio_bytes_written = 0;
switch_audio_cache = true;
reading_audio_cache_A = false;
@@ -146,7 +147,7 @@ void Timeline::repaint_timeline() {
}
ui->video_area->update();
ui->audio_area->update();
if (last_frame != playhead) {
if (last_frame != playhead) {
panel_viewer->viewer_widget->update();
last_frame = playhead;
}
@@ -319,3 +320,10 @@ void Timeline::on_toolSlipButton_toggled(bool checked)
tool = TIMELINE_TOOL_SLIP;
}
}
void Timeline::on_snappingButton_toggled(bool checked)
{
snapping = checked;
qDebug() << "clips vector size:" << sizeof(Clip) * sequence->clip_count();
}