diff options
author | James Courtier-Dutton <jcdutton@users.sourceforge.net> | 2002-09-18 04:20:09 +0000 |
---|---|---|
committer | James Courtier-Dutton <jcdutton@users.sourceforge.net> | 2002-09-18 04:20:09 +0000 |
commit | 40a213a03b067c8ac436b784c6a54d0e6e3d2311 (patch) | |
tree | 358bd1fd1471cd7938f8db6c21f72ffe8853e27d /src/libspudec/spu_decoder_api.h | |
parent | db4a9292eb386fe91bbb4059c1b172e45bd32ce7 (diff) | |
download | xine-lib-40a213a03b067c8ac436b784c6a54d0e6e3d2311.tar.gz xine-lib-40a213a03b067c8ac436b784c6a54d0e6e3d2311.tar.bz2 |
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
Diffstat (limited to 'src/libspudec/spu_decoder_api.h')
-rw-r--r-- | src/libspudec/spu_decoder_api.h | 6 |
1 files changed, 6 insertions, 0 deletions
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 <nav_types.h> /* * 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; |