mocked up a prototype of decoding data into the node graph
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user