MythTV  master
mythdecoderthread.h
Go to the documentation of this file.
1 #ifndef MYTHDECODERTHREAD_H
2 #define MYTHDECODERTHREAD_H
3 
4 // MythTV
5 #include "libmythbase/mthread.h"
6 
7 class MythPlayer;
8 
9 class MythDecoderThread : public MThread
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
MythDecoderThread::MythDecoderThread
MythDecoderThread(MythPlayer *Player, bool StartPaused)
Definition: mythdecoderthread.cpp:8
MythPlayer
Definition: mythplayer.h:83
MythDecoderThread
Definition: mythdecoderthread.h:9
MythDecoderThread::run
void run() override
Runs the Qt event loop unless we have a QRunnable, in which case we run the runnable run instead.
Definition: mythdecoderthread.cpp:20
MThread
This is a wrapper around QThread that does several additional things.
Definition: mthread.h:48
mthread.h
MythDecoderThread::m_player
MythPlayer * m_player
Definition: mythdecoderthread.h:20
Player
Definition: zmliveplayer.h:34
MythDecoderThread::m_startPaused
bool m_startPaused
Definition: mythdecoderthread.h:21
MythDecoderThread::~MythDecoderThread
~MythDecoderThread() override
Definition: mythdecoderthread.cpp:15