blob: 329709403bb425b81997313368157941f6a176c4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
#ifndef __EXTRECINFO_H
#define __EXTRECINFO_H
#include <vdr/recording.h>
struct tAudioTrack {
string codec;
string bitrate;
string language;
};
class cExtRecInfo {
private:
string xml;
size_t StripXmlTag(string &xmlstring, string &content, const char *tag, int start = 0);
size_t StripXmlTag(string &xmlstring, int &content, const char *tag, int start = 0);
public:
cExtRecInfo(const char *xml);
~cExtRecInfo(void);
bool Parse(void);
void Debug(void);
int resWidth;
int resHeight;
string resString;
bool isHD;
bool isUHD;
string aspectratio;
bool isWideScreen;
string codec;
string format;
string framerate;
string interlace;
bool isDolby;
vector< tAudioTrack > tracks;
};
#endif // __EXTRECINFO_H
|