diff --git a/recording/recordingcontroller.hpp b/recording/recordingcontroller.hpp index f8d2073..4b642b1 100644 --- a/recording/recordingcontroller.hpp +++ b/recording/recordingcontroller.hpp @@ -29,6 +29,7 @@ public slots: bool start(RecordingContext *context); // Returns false if not running bool end(); + void queue(QByteArray arr); private slots: void timeout(); void startWithArea(QRect newArea); diff --git a/recording/recordingformats.hpp b/recording/recordingformats.hpp index 16fbe17..cd24185 100644 --- a/recording/recordingformats.hpp +++ b/recording/recordingformats.hpp @@ -22,6 +22,7 @@ private: std::function consumer; std::function validator; std::function finalizer; + std::vector frames; QImage::Format iFormat; QDir tmpDir; int frame = 0;