Christophe Massiot
effeceed0a
mpeg/psi: Move PAT functions out to mpeg/psi/pat{_print}.h
13 years ago
Christophe Massiot
c6f3b52cad
mpeg/psi: Move section functions to mpeg/psi/psi.h
13 years ago
Christophe Massiot
c5a78ac899
mpeg/psi: Move descriptor functions mpeg/psi/descriptors.h
13 years ago
Georgi Chorbadzhiyski
f35e98e4d5
Remove unused variables.
13 years ago
Georgi Chorbadzhiyski
c73bef1583
Change biTStream license to MIT license.
Replace WTFPL with MIT license.
Acked-By: Christophe Massiot <massiot@via.ecp.fr>
Acked-By: Georgi Chorbadzhiyski <gf@unixsol.org>
Acked-By: Jean-Paul Saman <jpsaman@videolan.org>
Acked-By: Rémi Duraffort <ivoire@videolan.org>
13 years ago
Christophe Massiot
7ad38a696f
Rework the descriptors API
This is to avoid the hack with the CAT table, which doesn't have a descs
"header". So there are new functions descl_* to handle descriptor lists
without length. This change is backwards compatible for all tables except
CAT.
13 years ago
Georgi Chorbadzhiyski
a6ed936b6b
* Add support for Conditional Access Table
14 years ago
Christophe Massiot
2e37c440fd
* mpeg/psi.h: Be more leniant towards invalid PATs.
14 years ago
Christophe Massiot
a9ce23771d
* ALL: Change the API to allow for different types of print (esp. XML).
14 years ago
Christophe Massiot
a08bae073a
* mpeg/ts.h: Slightly change the API for sections to avoid bugs.
14 years ago
Christophe Massiot
d2f0a96a78
* mpeg/psi.h: Fix a major bug preventing multi-section tables to be updated.
14 years ago
Christophe Massiot
2b64da5e1b
* mpeg/psi.h: Fix a segfault when the number of sections changes. * mpeg/psi.h, dvb/si.h: Add functions to validate if there is enough space for a new substructure. * dvb/si.h: Add support for DVB MJD format. * dvb/si.h: Correctly initialize a byte in SDT sub-structure. * dvb/si.h: Fully implement descriptor 0x48 (service descriptor).
14 years ago
Christophe Massiot
65dd37c33e
* dvb/si.h: Improve validation of SDT.
14 years ago
Christophe Massiot
0b8f86699f
* mpeg/psi.h, dvb/si.h: Add descXX_validate() functions. * mpeg/psi_print.h: Validate descriptors before accessing them. * mpeg/psi.h: Avoid duplicate copies of the CRC32 table. * ALL: Make sure we return booleans. * dvb/si.h: Add support for DVB character sets. * dvb/si.h: Add content delivery descriptors 0x43, 0x44 and 0x5a. * dvb/si.h: Add VBI teletext descriptor 0x46. * examples/dvb_print_si.c: Add support for charset conversion via iconv.
14 years ago
Christophe Massiot
0403c639f3
* mpeg/psi.h: Fix a bug with descriptor 0x05. * mpeg/psi.h, dvb/si.h: Cosmetic changes in print functions. * examples/dvb_print_si.c: New example file to print DVB tables in a TS stream.
14 years ago
Christophe Massiot
088e84d9f3
* mpeg/psi.h: Really fix the infinite loop.
14 years ago
Christophe Massiot
b34ea7f094
* mpeg/psi.h: Fix an infinite loop when receiving an invalid section.
14 years ago
Christophe Massiot
8154e00f62
* ALL: New *_print() set of functions. * ALL (tables): Check CRC only when needed; also check tables coherence. * ALL (descriptors): Add a lot of missing _get_ functions. * ALL (descriptors): Fix off-by-one overflow of structure array. * mpeg/psi.h: Fix off-by-one overflow of PAT program array.
14 years ago
Christophe Massiot
968b0ea049
* Initial import.
14 years ago