3#ifndef QFFMPEGENCODERTHREAD_P_H
4#define QFFMPEGENCODERTHREAD_P_H
32 if (
m_canPushFrame.exchange(canPush, std::memory_order_relaxed) != canPush)
FFmpeg thread that is used to implement a consumer pattern.
QMutexLocker< QMutex > lockLoopData() const
Locks the loop data mutex.
virtual void setPaused(bool paused)
bool canPushFrame() const
RecordingEngine & m_recordingEngine
void updateCanPushFrame()
virtual bool checkIfCanPushFrame() const =0
EncoderThread(RecordingEngine &recordingEngine)
void canPushFrameChanged()
std::atomic_bool m_canPushFrame
Combined button and popup list for selecting options.
QScopeGuard(F(&)()) -> QScopeGuard< F(*)()>