MythTV master
mythdecoderthread.h
Go to the documentation of this file.
1#ifndef MYTHDECODERTHREAD_H
2#define MYTHDECODERTHREAD_H
3
4// MythTV
6
7class MythPlayer;
8
10{
11 public:
12 MythDecoderThread(MythPlayer *Player, bool StartPaused);
13 ~MythDecoderThread() override;
14
15 protected:
16 void run() override;
17
18 private:
19 Q_DISABLE_COPY(MythDecoderThread)
20 MythPlayer *m_player { nullptr };
21 bool m_startPaused { false };
22};
23
24#endif
This is a wrapper around QThread that does several additional things.
Definition: mthread.h:49
~MythDecoderThread() override
void run() override
Runs the Qt event loop unless we have a QRunnable, in which case we run the runnable run instead.
MythDecoderThread(MythPlayer *Player, bool StartPaused)
MythPlayer * m_player