Added first cut a Xine support

This commit is contained in:
Robert Osfield
2007-05-04 19:17:49 +00:00
parent 0dfd619138
commit 0603483c1a
5 changed files with 78 additions and 4 deletions

View File

@@ -119,14 +119,14 @@ IF (BUILD_OSG_OTHER_PLUGINS)
ADD_SUBDIRECTORY(md2)
ADD_SUBDIRECTORY(osgtgz)
ADD_SUBDIRECTORY(tgz)
# comment out txp plugin till it compiles cleanly...
ADD_SUBDIRECTORY(txp)
ADD_SUBDIRECTORY(shp)
ADD_SUBDIRECTORY(txf)
#ADD_SUBDIRECTORY(xine)
IF(XINE_FOUND)
ADD_SUBDIRECTORY(xine)
ENDIF(XINE_FOUND)
IF(QUICKTIME_FOUND)
ADD_SUBDIRECTORY(quicktime)

View File

@@ -0,0 +1,11 @@
INCLUDE_DIRECTORIES( ${XINE_INCLUDE_DIR} )
SET(TARGET_SRC
video_out_rgb.c
ReaderWriterXine.cpp
)
SET(TARGET_LIBRARIES_VARS XINE_LIBRARY )
#### end var setup ###
SETUP_PLUGIN(xine)

View File

@@ -81,6 +81,10 @@ static int s_debugMessages = 0;
ptr = NULL;\
}
#ifdef __cplusplus
extern "C" {
#endif
static inline void
clear(void* dest, uint32_t size)
{
@@ -2796,3 +2800,6 @@ void register_rgbout_plugin(xine_t *self)
xine_register_plugins(self, xine_plugin_info);
}
#ifdef __cplusplus
}
#endif