summaryrefslogtreecommitdiff
path: root/global.h
diff options
context:
space:
mode:
authorJochen Dolze <vdr@dolze.de>2009-09-22 09:29:03 +0200
committerJochen Dolze <vdr@dolze.de>2009-09-22 09:29:03 +0200
commit8f9594678c4e0d94e546cd2e94f898bf796c86c6 (patch)
treedb70bb896f08b831485f9d97a53b134708b9c5a6 /global.h
parent27b768a40f33b229ee832d22f24696565b812f98 (diff)
downloadvdr-plugin-markad-8f9594678c4e0d94e546cd2e94f898bf796c86c6.tar.gz
vdr-plugin-markad-8f9594678c4e0d94e546cd2e94f898bf796c86c6.tar.bz2
Updated various things
Diffstat (limited to 'global.h')
-rw-r--r--global.h17
1 files changed, 14 insertions, 3 deletions
diff --git a/global.h b/global.h
index 7762a83..79a612c 100644
--- a/global.h
+++ b/global.h
@@ -36,6 +36,17 @@ typedef struct MarkAdAspectRatio
int Den;
} MarkAdAspectRatio;
+#define MARKAD_PIDTYPE_VIDEO_H262 0x10
+#define MARKAD_PIDTYPE_VIDEO_H264 0x11
+#define MARKAD_PIDTYPE_AUDIO_AC3 0x20
+#define MARKAD_PIDTYPE_AUDIO_MP2 0x21
+
+typedef struct MarkAdPid
+{
+ int Num;
+ int Type;
+} MarkAdPid;
+
typedef struct MarkAdContext
{
struct General
@@ -44,9 +55,9 @@ typedef struct MarkAdContext
time_t EndTime;
bool ManualRecording;
bool H264;
- int VPid;
- int APid;
- int DPid;
+ MarkAdPid VPid;
+ MarkAdPid APid;
+ MarkAdPid DPid;
} General;
struct State