eitd: sectionsd after cleanup, dvbsi++ based, for testing

Origin commit data
------------------
Branch: ni/coolstream
Commit: abec14bd74
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2012-02-10 (Fri, 10 Feb 2012)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
[CST] Focus
2012-02-10 15:49:42 +04:00
parent 8c4998cd9e
commit 4652eb056d
3 changed files with 5 additions and 4 deletions

View File

@@ -62,6 +62,7 @@ void SIevent::parse(Event &event)
uint8_t duration_hi = (duration >> 16) & 0xFF;
uint8_t duration_mid = (duration >> 8) & 0xFF;
uint8_t duration_lo = duration & 0xFF;
if (!((duration_hi == 0xff) && (duration_mid == 0xff) && (duration_lo == 0xff)))
duration = ((duration_hi)>>4)*10*3600L + ((duration_hi)&0x0f)*3600L +
((duration_mid)>>4)*10*60L + ((duration_mid)&0x0f)*60L +