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

int cDvdPlayer::GotoPart ( int  part )

goto to the Part

return set Part ..

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

Referenced by NextPart(), and PreviousPart().

      int titleNo, chapterNumber, chapterNo;
      if(!DVDActiveAndRunning()) return -1;
      DEBUG_NAV("DVD NAV SPU clear & empty %s:%d\n", __FILE__, __LINE__);

      dvdnav_current_title_info(nav, &titleNo, &chapterNo);
      dvdnav_get_number_of_parts(nav, titleNo, &chapterNumber);

      if(part>chapterNumber) part=1;
      if(part<=0) part=chapterNumber;

      if (stillTimer == 0)
            dvdnav_part_play(nav, titleNo, part);


      return part;

Here is the caller graph for this function:

Generated by  Doxygen 1.6.0   Back to index