1
0

metadata.h 457 B

123456789101112131415161718192021222324
  1. #pragma once
  2. /* this parser is meant for retrieving metadata */
  3. #include "read.h"
  4. #include "avi_header.h"
  5. #include "avi_reader.h"
  6. #include "info.h"
  7. #include "ParserBase.h"
  8. namespace nsavi
  9. {
  10. class Metadata : public ParserBase
  11. {
  12. public:
  13. Metadata(nsavi::avi_reader *_reader);
  14. int GetDuration(int *time_ms);
  15. int GetHeaderList(HeaderList *header_list);
  16. int GetInfo(Info **info);
  17. private:
  18. /* INFO */
  19. Info *info;
  20. ParseState info_found;
  21. };
  22. };