aboutsummaryrefslogtreecommitdiff
path: root/Src/Plugins/Input/in_flv/FLVMetadata.h
blob: e67f26bc1287463c49d515a3e1aa615daa6ea1a3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#ifndef NULLSOFT_FLVMETADATA_H
#define NULLSOFT_FLVMETADATA_H

#include "AMFObject.h"
#include <vector>

class FLVMetadata
{
public:
	FLVMetadata();
	~FLVMetadata();
	bool Read(uint8_t *data, size_t size);
	struct Tag
	{
		Tag(); 
		~Tag();
		
		AMFString name;
		AMFMixedArray *parameters; // needs to be pointer so we can refcount
	};
	std::vector<Tag*> tags;
	
};
#endif