check queue for retrieved frame

This commit is contained in:
itsmattkc
2019-03-06 15:09:49 -08:00
parent efd0fcb18b
commit 0f7425d473
5 changed files with 71 additions and 73 deletions
+9
View File
@@ -168,6 +168,15 @@ public:
*/
bool isEmpty();
/**
* @brief Returns whether the queue contains a frame or not
*
* @return
*
* **TRUE** if the queue contains the specified frame, **FALSE** if not.
*/
bool contains(AVFrame* frame);
private:
QVector<AVFrame*> queue;
QMutex queue_lock;