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