diff options
author | James Courtier-Dutton <jcdutton@users.sourceforge.net> | 2002-09-16 16:55:35 +0000 |
---|---|---|
committer | James Courtier-Dutton <jcdutton@users.sourceforge.net> | 2002-09-16 16:55:35 +0000 |
commit | d35f836384d9fa164350612ead96362d9cd7b457 (patch) | |
tree | 6f30b8050bdcdde49086bcf58a85ff3ad2d2d8d7 | |
parent | 58f1f9a6702bfb806a68e3a5fe64d59bd7b3b7b2 (diff) | |
download | xine-lib-d35f836384d9fa164350612ead96362d9cd7b457.tar.gz xine-lib-d35f836384d9fa164350612ead96362d9cd7b457.tar.bz2 |
Start to get mrl working for DVD button.
CVS patchset: 2675
CVS date: 2002/09/16 16:55:35
-rw-r--r-- | src/input/input_dvd.c | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/src/input/input_dvd.c b/src/input/input_dvd.c index bab9424b6..7848f64fb 100644 --- a/src/input/input_dvd.c +++ b/src/input/input_dvd.c @@ -18,7 +18,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: input_dvd.c,v 1.81 2002/09/16 16:13:56 jcdutton Exp $ + * $Id: input_dvd.c,v 1.82 2002/09/16 16:55:35 jcdutton Exp $ * */ @@ -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 @@ static void dvdnav_build_mrl_list(dvdnav_input_plugin_t *this) { /* 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 @@ static void *init_input_plugin (xine_t *xine, void *data) { /* * $Log: input_dvd.c,v $ + * 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. * |