exporter: fixed segfault when cancelling introduced by multithreaded color space conversion

This commit is contained in:
itsmattkc
2020-05-01 00:36:37 +10:00
parent f371aff448
commit afc9cff301
5 changed files with 45 additions and 34 deletions
+3 -1
View File
@@ -269,7 +269,9 @@ void VideoRenderWorker::Download(const rational& time, QVariant texture, QString
TextureToBuffer(texture, frame->width(), frame->height(), frame_gen_mat_, frame->data(), frame->linesize_pixels());
}
emit GeneratedFrame(time, frame);
frame->set_timestamp(time);
emit GeneratedFrame(frame);
}
}