| 12345678910111213141516171819202122 |
- #ifndef AVPLAYER2_VIDEO_DECODE_THREAD_H
- #define AVPLAYER2_VIDEO_DECODE_THREAD_H
- #pragma once
- #include "ThreadBase.h"
- #include "packets_sync.h"
- class VideoDecodeThread : public ThreadBase
- {
- public:
- explicit VideoDecodeThread(VideoState* pState = nullptr);
- ~VideoDecodeThread();
- protected:
- void run() override;
- private:
- VideoState* m_pState;
- };
- #endif // AVPLAYER2_VIDEO_DECODE_THREAD_H
|