diff options
Diffstat (limited to 'include/xine/spu_decoder.h')
-rw-r--r-- | include/xine/spu_decoder.h | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/include/xine/spu_decoder.h b/include/xine/spu_decoder.h index b11bf7952..d36b5b691 100644 --- a/include/xine/spu_decoder.h +++ b/include/xine/spu_decoder.h @@ -27,6 +27,10 @@ #include <xine/os_types.h> #include <xine/buffer.h> +#ifdef XINE_COMPILE +# include <xine/plugin_catalog.h> +#endif + #define SPU_DECODER_IFACE_VERSION 17 /* @@ -113,7 +117,17 @@ struct spu_decoder_s { */ void (*set_button) (spu_decoder_t *this_gen, int32_t button, int32_t mode); - void *node; /* used by plugin loader */ + /** + * @brief Pointer to the loaded plugin node. + * + * Used by the plugins loader. It's an opaque type when using the + * structure outside of xine's build. + */ +#ifdef XINE_COMPILE + plugin_node_t *node; +#else + void *node; +#endif }; |