Bug #1091 ยป vdr-dxr3-dxr3demuxdevice.patch
dxr3-0.2.13/dxr3demuxdevice.c 2012-10-12 21:46:24.599481185 +0200 | ||
---|---|---|
static uint32_t vPts = 0;
|
||
static uint32_t lastPts = 0;
|
||
static bool bPlaySuc = false;
|
||
static bool bPlayedFrame = false;
|
||
int origLength = length;
|
||
int pcr = 0;
|
||
... | ... | |
dsyslog("dxr3: demux: I-frame");
|
||
m_dxr3Device.SingleStep();
|
||
bPlaySuc = true;
|
||
//if (bPlayedFrame) return length;
|
||
bPlayedFrame = true;
|
||
m_dxr3Device.SetHorizontalSize(pesFrame.GetHorizontalSize());
|
||
m_dxr3Device.SetVerticalSize(pesFrame.GetVerticalSize());
|
||
m_dxr3Device.PlayVideoFrame(&pesFrame, m_ReUseFrame);
|