use shared ptrs instead of qobject for decoder memory handling

This commit is contained in:
itsmattkc
2019-05-29 03:06:58 +10:00
parent aa0832c482
commit c8fe9c9fc7
4 changed files with 5 additions and 8 deletions
+2 -2
View File
@@ -20,9 +20,9 @@ class Decoder : public QObject
{
Q_OBJECT
public:
Decoder(QObject* parent = nullptr);
Decoder();
Decoder(FootageStream* fs, QObject *parent = nullptr);
Decoder(FootageStream* fs);
virtual ~Decoder();