From: James Courtier-D. <jcd...@us...> - 2002-09-16 16:55:38
|
Update of /cvsroot/xine/xine-lib/src/input In directory usw-pr-cvs1:/tmp/cvs-serv13305/xine-lib/src/input Modified Files: input_dvd.c Log Message: Start to get mrl working for DVD button. Index: input_dvd.c =================================================================== RCS file: /cvsroot/xine/xine-lib/src/input/input_dvd.c,v retrieving revision 1.81 retrieving revision 1.82 diff -u -r1.81 -r1.82 --- input_dvd.c 16 Sep 2002 16:13:56 -0000 1.81 +++ input_dvd.c 16 Sep 2002 16:55:35 -0000 1.82 @@ -82,7 +82,7 @@ #include "nav_read.h" /* Print debug messages? */ -/* #define INPUT_DEBUG */ +#define INPUT_DEBUG /* Print trace messages? */ /* #define INPUT_DEBUG_TRACE */ @@ -321,9 +321,8 @@ /* for each title, count the number of programs */ for (i = 1; i <= num_titles; i++) { num_parts[i-1] = 0; - dvdnav_title_play(this->dvdnav, i); - /* This doesn't wok currently. Use 0 for now. */ - /* dvdnav_get_number_of_programs(this->dvdnav, &num_parts[i-1]); */ + /* dvdnav_title_play(this->dvdnav, i); */ + dvdnav_get_number_of_parts(this->dvdnav, i, &num_parts[i-1]); num_parts[i-1] = 0; num_mrls += num_parts[i-1]; /* num_mrls = total number of programs */ } @@ -1487,6 +1486,9 @@ /* * $Log$ + * Revision 1.82 2002/09/16 16:55:35 jcdutton + * Start to get mrl working for DVD button. + * * Revision 1.81 2002/09/16 16:13:56 jcdutton * Prevent a segfault when accessing the config. * |