summaryrefslogtreecommitdiff
path: root/include/xine/video_decoder.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/xine/video_decoder.h')
-rw-r--r--include/xine/video_decoder.h18
1 files changed, 15 insertions, 3 deletions
diff --git a/include/xine/video_decoder.h b/include/xine/video_decoder.h
index ec0855277..916cfe68b 100644
--- a/include/xine/video_decoder.h
+++ b/include/xine/video_decoder.h
@@ -26,6 +26,10 @@
#include <xine/os_types.h>
#include <xine/buffer.h>
+#ifdef XINE_COMPILE
+# include <xine/plugin_catalog.h>
+#endif
+
#define VIDEO_DECODER_IFACE_VERSION 19
@@ -98,9 +102,17 @@ struct video_decoder_s {
*/
void (*dispose) (video_decoder_t *this);
-
- 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
};
#endif