summaryrefslogtreecommitdiff
path: root/global.h
diff options
context:
space:
mode:
authorJochen Dolze <vdr@dolze.de>2010-03-05 09:39:47 +0100
committerJochen Dolze <vdr@dolze.de>2010-03-05 09:39:47 +0100
commita73c755a421cd3b20dd9923c863a74ec860ad9ed (patch)
tree908121f0038cce0125ac0473aaa6fe6a9aee4b63 /global.h
parent4810e07340050c6651262da3deda8cb565c01c71 (diff)
downloadvdr-plugin-markad-a73c755a421cd3b20dd9923c863a74ec860ad9ed.tar.gz
vdr-plugin-markad-a73c755a421cd3b20dd9923c863a74ec860ad9ed.tar.bz2
Changed H264 handlingv0.0.5
Diffstat (limited to 'global.h')
-rw-r--r--global.h16
1 files changed, 3 insertions, 13 deletions
diff --git a/global.h b/global.h
index ff55afe..8ef28fc 100644
--- a/global.h
+++ b/global.h
@@ -51,20 +51,11 @@ typedef struct MarkAdContext
{
struct General
{
- time_t StartTime;
- time_t EndTime;
- bool ManualRecording;
MarkAdPid VPid;
MarkAdPid APid;
MarkAdPid DPid;
} General;
- struct State
- {
- int ContentStarted;
- int ContentStopped;
- } State;
-
struct Video
{
struct Info
@@ -73,6 +64,7 @@ typedef struct MarkAdContext
int Height; // height of pic
int Pict_Type; // picture type (I,P,B,S,SI,SP,BI)
MarkAdAspectRatio AspectRatio;
+ double FramesPerSecond;
} Info;
struct Data
@@ -92,10 +84,8 @@ typedef struct MarkAdContext
struct Data
{
bool Valid;
- uchar *SampleBufAC3;
- int SampleBufLenAC3;
- uchar *SampleBufMP2;
- int SampleBufLenMP2;
+ short *SampleBuf;
+ int SampleBufLen;
} Data;
} Audio;