cc_stream.h 416 B

12345678910111213141516171819202122
  1. #pragma once
  2. #include "subtitle_stream.h"
  3. namespace ffmpeg {
  4. /**
  5. * Class uses FFMPEG library to decode one closed captions stream.
  6. */
  7. class CCStream : public SubtitleStream {
  8. public:
  9. CCStream(
  10. AVFormatContext* inputCtx,
  11. int index,
  12. bool convertPtsToWallTime,
  13. const SubtitleFormat& format);
  14. private:
  15. AVCodec* findCodec(AVCodecParameters* params) override;
  16. };
  17. } // namespace ffmpeg