From 40a213a03b067c8ac436b784c6a54d0e6e3d2311 Mon Sep 17 00:00:00 2001 From: James Courtier-Dutton Date: Wed, 18 Sep 2002 04:20:09 +0000 Subject: Updating the DVD menu code to use better nav_pci information. libspudec parses nav_pci info correctly. libdvdnav does not parse nav_pci info at all. CVS patchset: 2681 CVS date: 2002/09/18 04:20:09 --- src/libspudec/spu_decoder_api.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/libspudec/spu_decoder_api.h') diff --git a/src/libspudec/spu_decoder_api.h b/src/libspudec/spu_decoder_api.h index a03e02621..19575a505 100644 --- a/src/libspudec/spu_decoder_api.h +++ b/src/libspudec/spu_decoder_api.h @@ -25,6 +25,9 @@ #define HAVE_SPU_API_H #define SPU_DECODER_IFACE_VERSION 9 +/* FIXME: Needed for spu_button_t */ +/* But will not be on all users's systems. (From the libspudec directory or libdvdread). */ +#include /* * generic xine spu decoder plugin interface @@ -50,6 +53,8 @@ struct spu_decoder_s { void (*dispose) (spu_decoder_t *this); + int (*get_nav_pci) (spu_decoder_t *this, void *nav_pci); + }; typedef struct spu_button_s spu_button_t; @@ -61,6 +66,7 @@ struct spu_button_s { uint16_t top, bottom; int64_t pts; uint32_t buttonN; + pci_t nav_pci; }; typedef struct spudec_clut_table_s spudec_clut_table_t; -- cgit v1.2.3