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.h23
1 files changed, 15 insertions, 8 deletions
diff --git a/include/xine/video_decoder.h b/include/xine/video_decoder.h
index 705efa3da..916cfe68b 100644
--- a/include/xine/video_decoder.h
+++ b/include/xine/video_decoder.h
@@ -23,12 +23,11 @@
#ifndef HAVE_VIDEO_DECODER_H
#define HAVE_VIDEO_DECODER_H
+#include <xine/os_types.h>
+#include <xine/buffer.h>
+
#ifdef XINE_COMPILE
-# include <inttypes.h>
-# include "buffer.h"
-#else
-# include <xine/os_types.h>
-# include <xine/buffer.h>
+# include <xine/plugin_catalog.h>
#endif
#define VIDEO_DECODER_IFACE_VERSION 19
@@ -103,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