diff options
Diffstat (limited to 'dxr3device.c')
-rw-r--r-- | dxr3device.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/dxr3device.c b/dxr3device.c index 938eac6..7c8b8fa 100644 --- a/dxr3device.c +++ b/dxr3device.c @@ -279,6 +279,14 @@ int cDxr3Device::PlayAudio(const uchar *Data, int Length, uchar Id) return Length; } + uint32_t pts = frame.pts(); + + if (pts == 0) { + pts = aPts; + } else { + aPts = pts; + } + bool isAc3 = ((Id & 0xF0) == 0x80) || Id == 0xbd; if (!isAc3) { |