finished prototype for float pix fmt converter

This commit is contained in:
itsmattkc
2019-05-30 21:50:18 +10:00
parent c8fe9c9fc7
commit 707ad3c264
28 changed files with 671 additions and 300 deletions
+4 -1
View File
@@ -33,7 +33,8 @@ Sequence::Sequence() :
using_workarea(false),
workarea_in(0),
workarea_out(0),
wrapper_sequence(false)
wrapper_sequence(false),
texture_io(nullptr)
{
AddTrack(olive::kTypeVideo);
AddTrack(olive::kTypeAudio);
@@ -197,6 +198,8 @@ QVector<Track *> Sequence::GetTrackList(olive::TrackType type)
GLuint Sequence::texture()
{
if (texture_io == nullptr) return 0;
texture_io->ParentNode()->Process(0);
return texture_io->GetValue().value<GLuint>();
}