Logo Search packages:      
Sourcecode: vdr-plugin-dvd version File versions  Download package

void cDvdPlayer::BlocksToPGCTicks ( uint32_t  BlockNum,
int64_t &  Ticks,
int64_t &  TotalTicks 

returns the Ticks and TotalTicks according to the given BlockNum, TotalBlockNum of the actual PGC !

the TotalBlockNum of the actual PGC is fetched !

90000 ticks are 1 second, acording to MPEG !

Definition at line 2018 of file player-dvd.c.

References GetPGCLengthInTicks().

Referenced by Action(), and GetIndex().

  TotalTicks = GetPGCLengthInTicks();
        Ticks = BlockNum * (TotalTicks / pgcTotalBlockNum) ;
        Ticks = 0;

Here is the call graph for this function:

Here is the caller graph for this function:

Generated by  Doxygen 1.6.0   Back to index