You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

VideoProcess.h 598 B

1234567891011121314151617181920212223242526272829
  1. #pragma once
  2. #include "ConstBuffer.h"
  3. #include "IProcess.h"
  4. // #include"FfmpegDecodeOld.h"
  5. #include "FfmpegDecodeNew.h"
  6. class VideoProcess : public IProcess
  7. {
  8. public:
  9. VideoProcess(QObject* parent = Q_NULLPTR);
  10. ~VideoProcess();
  11. void getFfmpegDecode();
  12. bool getVideoPlayStatus()
  13. {
  14. return m_bIsPlay;
  15. }
  16. private:
  17. // FfmpegDecodeOld* m_pFfmpegDecodeOld;
  18. FfmpegDecodeNew* m_pFfmpegDecodeNew;
  19. bool m_bIsPlay;
  20. private:
  21. void run() override;
  22. void rejectFillData();
  23. void validDataDeal();
  24. public slots:
  25. void startPlayer(bool status);
  26. };