Go to the documentation of this file.
6 #define LOC QString("DecThread: ")
11 m_startPaused(StartPaused)
23 LOG(VB_PLAYBACK, LOG_INFO,
LOC +
"Decoder thread starting.");
26 LOG(VB_PLAYBACK, LOG_INFO,
LOC +
"Decoder thread exiting.");
MythDecoderThread(MythPlayer *Player, bool StartPaused)
bool wait(std::chrono::milliseconds time=std::chrono::milliseconds::max())
Wait for the MThread to exit, with a maximum timeout.
#define LOG(_MASK_, _LEVEL_, _QSTRING_)
void RunProlog(void)
Sets up a thread, call this if you reimplement run().
void run() override
Runs the Qt event loop unless we have a QRunnable, in which case we run the runnable run instead.
void RunEpilog(void)
Cleans up a thread's resources, call this if you reimplement run().
This is a wrapper around QThread that does several additional things.
virtual void DecoderLoop(bool pause)
~MythDecoderThread() override