diff options
author | Klaus Schmidinger <kls (at) cadsoft (dot) de> | 2008-12-14 16:54:12 +0100 |
---|---|---|
committer | Klaus Schmidinger <kls (at) cadsoft (dot) de> | 2008-12-14 16:54:12 +0100 |
commit | 1834751c4510edb66c96d0b741def5922738e74c (patch) | |
tree | 7ce12d0916803847ebec437d4c03b90338d815f6 /remux.h | |
parent | c848ab793a302dc067663ec4a06395745e443c9d (diff) | |
download | vdr-patch-lnbsharing-1834751c4510edb66c96d0b741def5922738e74c.tar.gz vdr-patch-lnbsharing-1834751c4510edb66c96d0b741def5922738e74c.tar.bz2 |
Version 1.7.2vdr-1.7.2
- Added a note about 'Id' being obsolete to the description of cDevice::PlayAudio().
- Switched to the new S2API driver API, which was decided to become the official
DVB API in the kernel (based on patches from Igor M. Liplianin, Niels Wagenaar
and Edgar Hucek). VDR now uses the S2API driver from http://linuxtv.org/hg/v4l-dvb.
In order to correctly detect DVB-S2 capable devices, you need to apply the patch
from ftp://ftp.cadsoft.de/vdr/Developer/v4l-dvb-s2api-add-s2-capability.diff to
the driver source, because the S2API doesn't provide a way of telling whether a
device can handle DVB-S2 transponders.
- The cDvbTuner::IsTunedTo() function now also checks the symbol rate in case of
DVB-S and DVB-C.
- Improved handling PES video packets with zero length when converting from TS to PES.
For good replay in Transfer Mode on full featured DVB cards you may want to apply
the patch from ftp://ftp.cadsoft.de/vdr/Developer/av7110_v4ldvb_api5_audiobuf_test_1.diff
to the driver (thanks to Oliver Endriss).
Diffstat (limited to 'remux.h')
-rw-r--r-- | remux.h | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: remux.h 2.2 2008/09/06 14:48:28 kls Exp $ + * $Id: remux.h 2.3 2008/12/13 13:55:07 kls Exp $ */ #ifndef __REMUX_H @@ -138,6 +138,11 @@ inline bool PesLongEnough(int Length) return Length >= 6; } +inline bool PesHasLength(const uchar *p) +{ + return p[4] | p[5]; +} + inline int PesLength(const uchar *p) { return 6 + p[4] * 256 + p[5]; @@ -241,6 +246,7 @@ private: uchar *data; int size; int length; + int offset; bool synced; public: cTsToPes(void); |