diff --git a/io/previewgenerator.cpp b/io/previewgenerator.cpp index 4c4053c5e..91e328a8a 100644 --- a/io/previewgenerator.cpp +++ b/io/previewgenerator.cpp @@ -66,11 +66,11 @@ void PreviewGenerator::parse_media() { && fmt_ctx->streams[i]->codecpar->width > 0 && fmt_ctx->streams[i]->codecpar->height > 0) { - dout << "avg_frame_rate was:" << fmt_ctx->streams[i]->avg_frame_rate.num << "/" << fmt_ctx->streams[i]->avg_frame_rate.den; + /*dout << "avg_frame_rate was:" << fmt_ctx->streams[i]->avg_frame_rate.num << "/" << fmt_ctx->streams[i]->avg_frame_rate.den; dout << "r_frame_rate was:" << fmt_ctx->streams[i]->r_frame_rate.num << "/" << fmt_ctx->streams[i]->r_frame_rate.den; dout << "codec_frame_rate was:" << fmt_ctx->streams[i]->codec->framerate.num << "/" << fmt_ctx->streams[i]->codec->framerate.den; dout << "nb_frames was:" << fmt_ctx->streams[i]->nb_frames; - dout << "duration was:" << fmt_ctx->streams[i]->duration << "OR fmt_ctx's duration is:" << fmt_ctx->duration; + dout << "duration was:" << fmt_ctx->streams[i]->duration << "OR fmt_ctx's duration is:" << fmt_ctx->duration;*/ // heuristic to determine if video is a still image if (fmt_ctx->streams[i]->avg_frame_rate.den == 0 diff --git a/ui/sourcetable.cpp b/ui/sourcetable.cpp index 4702b9841..4cc170e41 100644 --- a/ui/sourcetable.cpp +++ b/ui/sourcetable.cpp @@ -20,7 +20,7 @@ SourceTable::SourceTable(QWidget* parent) : QTreeWidget(parent) { editing_item = NULL; sortByColumn(0, Qt::AscendingOrder); - rename_timer.setInterval(500); + rename_timer.setInterval(1000); setContextMenuPolicy(Qt::CustomContextMenu); connect(&rename_timer, SIGNAL(timeout()), this, SLOT(rename_interval())); connect(this, SIGNAL(itemClicked(QTreeWidgetItem*,int)), this, SLOT(item_click(QTreeWidgetItem*,int)));