Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qffmpegencoderthread.cpp
Go to the documentation of this file.
1// Copyright (C) 2024 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
4#include "qmetaobject.h"
5
7
8namespace QFFmpeg {
9
10EncoderThread::EncoderThread(RecordingEngine &recordingEngine) : m_recordingEngine(recordingEngine)
11{
12}
13
14void EncoderThread::setPaused(bool paused)
15{
16 auto guard = lockLoopData();
17 m_paused = paused;
18}
19
20} // namespace QFFmpeg
21
23
24#include "moc_qffmpegencoderthread_p.cpp"
virtual void setPaused(bool paused)
EncoderThread(RecordingEngine &recordingEngine)
Combined button and popup list for selecting options.