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

int cDvdPlayer::GotoTitle ( int  title )

goto to the Title

return set title ..

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

Referenced by NextTitle(), and PreviousTitle().

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

      dvdnav_get_number_of_titles(nav, &titleNumber);

      if(title>titleNumber) title=1;
      if(title<=0) title=titleNumber;

      if (stillTimer == 0)
            dvdnav_part_play(nav, title, 1);
            // dvdnav_title_play(nav, title);


      return title;

Here is the caller graph for this function:

Generated by  Doxygen 1.6.0   Back to index