diff --git a/dialogs/aboutdialog.ui b/dialogs/aboutdialog.ui
index 246699a14..8033a5596 100644
--- a/dialogs/aboutdialog.ui
+++ b/dialogs/aboutdialog.ui
@@ -6,8 +6,8 @@
0
0
- 320
- 180
+ 400
+ 220
@@ -17,11 +17,14 @@
-
- Olive is a professional video editor.
+ Olive is a non-linear video editor. This software is free and protected by the GNU GPL.
Qt::AlignCenter
+
+ true
+
-
diff --git a/io/previewgenerator.cpp b/io/previewgenerator.cpp
index f1bc569f9..1c1a27796 100644
--- a/io/previewgenerator.cpp
+++ b/io/previewgenerator.cpp
@@ -1,3 +1,7 @@
+//
+// TODO: Fold this file into a multithreaded "file processor"
+//
+
#include "previewgenerator.h"
#include "media.h"
diff --git a/mainwindow.cpp b/mainwindow.cpp
index 33072e0f2..5c4ac2c0c 100644
--- a/mainwindow.cpp
+++ b/mainwindow.cpp
@@ -54,7 +54,6 @@ MainWindow::MainWindow(QWidget *parent) :
darkPalette.setColor(QPalette::ButtonText, Qt::white); darkPalette.setColor(QPalette::BrightText, Qt::red);
darkPalette.setColor(QPalette::Disabled, QPalette::ButtonText, QColor(128, 128, 128));
darkPalette.setColor(QPalette::Link, QColor(42, 130, 218));
-
darkPalette.setColor(QPalette::Highlight, QColor(42, 130, 218));
darkPalette.setColor(QPalette::HighlightedText, Qt::black);
@@ -66,8 +65,8 @@ MainWindow::MainWindow(QWidget *parent) :
ui->setupUi(this);
- setWindowTitle("Olive (May 2018 | Pre-Alpha)");
- statusBar()->showMessage("Welcome to Olive::Qt");
+ setWindowTitle("Olive (June 2018 | Pre-Alpha)");
+ statusBar()->showMessage("Welcome to Olive");
setCentralWidget(NULL);
diff --git a/olive.pro.user b/olive.pro.user
index 6319f6d8a..894eacd94 100644
--- a/olive.pro.user
+++ b/olive.pro.user
@@ -1,6 +1,6 @@
-
+
EnvironmentId
diff --git a/panels/project.cpp b/panels/project.cpp
index 7610289a2..c9ff35f2a 100644
--- a/panels/project.cpp
+++ b/panels/project.cpp
@@ -116,10 +116,17 @@ Media* Project::import_file(QString file) {
ms->preview_lock.lock();
ms->file_index = i;
if (pFormatCtx->streams[i]->codecpar->codec_type == AVMEDIA_TYPE_VIDEO) {
- qDebug() << "[WARNING] INFINITE_LENGTH calculation is inaccurate in this build\n";
- // TODO BETTER infinite length calculator
- bool infinite_length = (pFormatCtx->streams[i]->nb_frames == 0);
-// bool infinite_length = false;
+// qDebug() << "[WARNING] INFINITE_LENGTH calculation is inaccurate in this build\n";
+// qDebug() << "INFINITE_LENGTH heuristics:";
+// qDebug() << " start_time:" << pFormatCtx->streams[i]->start_time;
+// qDebug() << " duration:" << pFormatCtx->streams[i]->duration;
+// qDebug() << " nb_frames:" << pFormatCtx->streams[i]->nb_frames;
+// qDebug() << " avg_frame_rate:" << av_q2d(pFormatCtx->streams[i]->avg_frame_rate);
+// qDebug() << " codec_info_nb_frames:" << pFormatCtx->streams[i]->codec_info_nb_frames;
+// qDebug() << " nb_decoded_frames:" << pFormatCtx->streams[i]->nb_decoded_frames;
+// qDebug() << " codec_id:" << pFormatCtx->streams[i]->codecpar->codec_id;
+
+ bool infinite_length = (pFormatCtx->streams[i]->avg_frame_rate.den == 0);
ms->video_width = pFormatCtx->streams[i]->codecpar->width;
ms->video_height = pFormatCtx->streams[i]->codecpar->height;
ms->infinite_length = infinite_length;
diff --git a/panels/timeline.cpp b/panels/timeline.cpp
index 7059022f2..8d6319ac7 100644
--- a/panels/timeline.cpp
+++ b/panels/timeline.cpp
@@ -136,6 +136,7 @@ bool Timeline::focused() {
void Timeline::undo() {
if (sequence != NULL) {
current_clips.clear();
+ panel_effect_controls->set_clip(NULL);
sequence->undo();
ui->video_area->redraw_clips();
ui->audio_area->redraw_clips();
@@ -145,6 +146,7 @@ void Timeline::undo() {
void Timeline::redo() {
if (sequence != NULL) {
current_clips.clear();
+ panel_effect_controls->set_clip(NULL);
sequence->redo();
ui->video_area->redraw_clips();
ui->audio_area->redraw_clips();