This commit is contained in:
itsmattkc
2019-01-24 22:42:05 +11:00
parent 58b1a4af18
commit cb3098e89d
12 changed files with 73 additions and 40 deletions
+3
View File
@@ -438,6 +438,8 @@ GLuint compose_sequence(Viewer* viewer,
motion_blur_prog++;*/
}
} else {
qDebug() << "ra loc";
if (render_audio || (config.enable_audio_scrubbing && audio_scrub && seq->playhead > c->timeline_in)) {
if (c->media != nullptr && c->media->get_type() == MEDIA_TYPE_SEQUENCE) {
nests.append(c);
@@ -486,6 +488,7 @@ GLuint compose_sequence(Viewer* viewer,
}
void compose_audio(Viewer* viewer, Sequence* seq, bool render_audio, int playback_speed) {
qDebug() << "ca called";
QVector<Clip*> nests;
bool texture_failed;
compose_sequence(viewer, nullptr, seq, nests, false, render_audio, nullptr, texture_failed, audio_rendering, playback_speed);