#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
