mocked up a prototype of decoding data into the node graph

This commit is contained in:
itsmattkc
2019-08-04 14:45:17 +10:00
parent fb8d5df24b
commit 298ae2f36c
15 changed files with 178 additions and 32 deletions
+2 -1
View File
@@ -20,6 +20,7 @@
#include "frame.h"
#include <QDebug>
#include <QtGlobal>
Frame::Frame() :
@@ -71,7 +72,7 @@ void Frame::SetAVFrame(AVFrame *f, AVRational timebase)
{
FreeChild();
f = frame_;
frame_ = f;
timestamp_ = rational(timebase.num*f->pts, timebase.den);
}