mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
Fixed some descriptor handling in 'libsi'
This commit is contained in:
parent
ad557ab214
commit
8ae3142f94
@ -943,3 +943,4 @@ Thomas Bergwinkl <Thomas.Bergwinkl@t-online.de>
|
|||||||
|
|
||||||
Stéphane Esté-Gracias <sestegra@free.fr>
|
Stéphane Esté-Gracias <sestegra@free.fr>
|
||||||
for fixing a typo in libsi/si.h
|
for fixing a typo in libsi/si.h
|
||||||
|
for fixing some descriptor handling in 'libsi'
|
||||||
|
1
HISTORY
1
HISTORY
@ -2717,3 +2717,4 @@ Video Disk Recorder Revision History
|
|||||||
2004-03-05: Version 1.3.6
|
2004-03-05: Version 1.3.6
|
||||||
|
|
||||||
- Completed the Finnish OSD texts (thanks to Rolf Ahrenberg).
|
- Completed the Finnish OSD texts (thanks to Rolf Ahrenberg).
|
||||||
|
- Fixed some descriptor handling in 'libsi' (thanks to Stéphane Esté-Gracias).
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
* the Free Software Foundation; either version 2 of the License, or *
|
* the Free Software Foundation; either version 2 of the License, or *
|
||||||
* (at your option) any later version. *
|
* (at your option) any later version. *
|
||||||
* *
|
* *
|
||||||
* $Id: descriptor.c 1.6 2004/02/22 11:11:36 kls Exp $
|
* $Id: descriptor.c 1.7 2004/03/05 15:17:33 kls Exp $
|
||||||
* *
|
* *
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
@ -148,7 +148,7 @@ void TimeShiftedEventDescriptor::Parse() {
|
|||||||
|
|
||||||
void ContentDescriptor::Parse() {
|
void ContentDescriptor::Parse() {
|
||||||
//this descriptor is only a header and a loop
|
//this descriptor is only a header and a loop
|
||||||
nibbleLoop.setData(data+sizeof(SectionHeader), getLength()-sizeof(SectionHeader));
|
nibbleLoop.setData(data+sizeof(descr_content), getLength()-sizeof(descr_content));
|
||||||
}
|
}
|
||||||
|
|
||||||
int ContentDescriptor::Nibble::getContentNibbleLevel1() const {
|
int ContentDescriptor::Nibble::getContentNibbleLevel1() const {
|
||||||
@ -173,7 +173,7 @@ void ContentDescriptor::Nibble::Parse() {
|
|||||||
|
|
||||||
void ParentalRatingDescriptor::Parse() {
|
void ParentalRatingDescriptor::Parse() {
|
||||||
//this descriptor is only a header and a loop
|
//this descriptor is only a header and a loop
|
||||||
ratingLoop.setData(data+sizeof(SectionHeader), getLength()-sizeof(SectionHeader));
|
ratingLoop.setData(data+sizeof(descr_parental_rating), getLength()-sizeof(descr_parental_rating));
|
||||||
}
|
}
|
||||||
|
|
||||||
int ParentalRatingDescriptor::Rating::getRating() const {
|
int ParentalRatingDescriptor::Rating::getRating() const {
|
||||||
|
Loading…
Reference in New Issue
Block a user