diff options
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; |