check queue for retrieved frame
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user