minor cleanup and documentation of render functions

This commit is contained in:
itsmattkc
2019-02-16 02:18:32 -08:00
parent c810f27c47
commit 6bccd0c660
177 changed files with 2562 additions and 1497 deletions
+6 -5
View File
@@ -51,11 +51,12 @@ extern "C" {
ExportThread::ExportThread(const ExportParams &iparams,
const VideoCodecParams& ivparams,
QObject *parent) :
params(iparams),
vcodec_params(ivparams),
QThread(parent),
continueEncode(true)
QThread(parent)
{
params = iparams;
vcodec_params = ivparams;
continueEncode = true;
surface.create();
fmt_ctx = nullptr;
@@ -370,7 +371,7 @@ void ExportThread::run() {
start_time = QDateTime::currentMSecsSinceEpoch();
if (params.audio_enabled) {
compose_audio(nullptr, Olive::ActiveSequence, true, false);
compose_audio(nullptr, Olive::ActiveSequence, 1);
}
if (params.video_enabled) {
do {