summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2006-07-10 22:08:12 +0000
committerDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2006-07-10 22:08:12 +0000
commite70c5600f5653c6915931717bdd52f9a6a2f2d9d (patch)
treea0d5282f9deb660def1026701c8e68a273099ede
parent32ad3ca6265c8cbac584dd3510109b920415a8e1 (diff)
downloadxine-lib-e70c5600f5653c6915931717bdd52f9a6a2f2d9d.tar.gz
xine-lib-e70c5600f5653c6915931717bdd52f9a6a2f2d9d.tar.bz2
Implement visibility support, available on GCC 4.0 and later and on some 3.4 (through backports), to avoid exporting unneeded internal symbols, making plugins' loading faster and use of internal copies of libraries more solid. It should automatically fall back to the old way in GCCs that does not support -fvisibility=hidden, but has to be tested carefully. No issues were found in the months of testing in Gentoo, but this requires special attention anyway.
CVS patchset: 8101 CVS date: 2006/07/10 22:08:12
-rw-r--r--configure.ac43
-rw-r--r--src/audio_out/Makefile.am43
-rw-r--r--src/audio_out/audio_alsa_out.c4
-rw-r--r--src/audio_out/audio_arts_out.c4
-rw-r--r--src/audio_out/audio_coreaudio_out.c2
-rw-r--r--src/audio_out/audio_directx2_out.c4
-rwxr-xr-xsrc/audio_out/audio_directx_out.c4
-rw-r--r--src/audio_out/audio_esd_out.c4
-rw-r--r--src/audio_out/audio_file_out.c4
-rw-r--r--src/audio_out/audio_fusionsound_out.c2
-rw-r--r--src/audio_out/audio_irixal_out.c4
-rw-r--r--src/audio_out/audio_none_out.c4
-rw-r--r--src/audio_out/audio_oss_out.c4
-rw-r--r--src/audio_out/audio_polyp_out.c4
-rw-r--r--src/audio_out/audio_sun_out.c4
-rw-r--r--src/demuxers/Makefile.am74
-rw-r--r--src/demuxers/demux_asf.c4
-rw-r--r--src/demuxers/demux_avi.c4
-rw-r--r--src/demuxers/demux_elem.c4
-rw-r--r--src/demuxers/demux_fli.c4
-rw-r--r--src/demuxers/demux_flv.c4
-rw-r--r--src/demuxers/demux_iff.c4
-rw-r--r--src/demuxers/demux_image.c4
-rw-r--r--src/demuxers/demux_matroska.c4
-rw-r--r--src/demuxers/demux_mng.c4
-rw-r--r--src/demuxers/demux_mpeg.c4
-rw-r--r--src/demuxers/demux_mpeg_block.c4
-rw-r--r--src/demuxers/demux_mpeg_pes.c4
-rw-r--r--src/demuxers/demux_nsv.c4
-rw-r--r--src/demuxers/demux_ogg.c4
-rw-r--r--src/demuxers/demux_pva.c4
-rw-r--r--src/demuxers/demux_qt.c4
-rw-r--r--src/demuxers/demux_rawdv.c4
-rw-r--r--src/demuxers/demux_real.c4
-rw-r--r--src/demuxers/demux_slave.c4
-rw-r--r--src/demuxers/demux_ts.c4
-rw-r--r--src/demuxers/demux_yuv4mpeg2.c4
-rw-r--r--src/demuxers/demux_yuv_frames.c4
-rw-r--r--src/demuxers/group_audio.c4
-rw-r--r--src/demuxers/group_games.c4
-rw-r--r--src/dxr3/Makefile.am3
-rw-r--r--src/dxr3/dxr3_decode_spu.c4
-rw-r--r--src/dxr3/dxr3_decode_video.c4
-rw-r--r--src/input/Makefile.am48
-rw-r--r--src/input/input_cdda.c4
-rw-r--r--src/input/input_dvb.c2
-rw-r--r--src/input/input_dvd.c4
-rw-r--r--src/input/input_file.c4
-rw-r--r--src/input/input_gnome_vfs.c4
-rw-r--r--src/input/input_http.c4
-rw-r--r--src/input/input_mms.c4
-rw-r--r--src/input/input_net.c4
-rw-r--r--src/input/input_pnm.c2
-rw-r--r--src/input/input_pvr.c4
-rw-r--r--src/input/input_rtp.c2
-rw-r--r--src/input/input_rtsp.c2
-rw-r--r--src/input/input_smb.c4
-rw-r--r--src/input/input_stdin_fifo.c4
-rw-r--r--src/input/input_v4l.c2
-rw-r--r--src/input/input_vcd.c4
-rw-r--r--src/input/libdvdnav/Makefile.am1
-rw-r--r--src/input/libreal/Makefile.am2
-rw-r--r--src/input/librtsp/Makefile.am1
-rw-r--r--src/input/vcd/xineplug_inp_vcd.c4
-rw-r--r--src/liba52/Makefile.am3
-rw-r--r--src/liba52/xine_decoder.c4
-rw-r--r--src/libdts/Makefile.am7
-rw-r--r--src/libdts/xine_decoder.c4
-rw-r--r--src/libfaad/Makefile.am4
-rw-r--r--src/libfaad/xine_decoder.c4
-rw-r--r--src/libffmpeg/Makefile.am11
-rw-r--r--src/libffmpeg/dvaudio_decoder.c4
-rw-r--r--src/libffmpeg/xine_decoder.c4
-rw-r--r--src/libffmpeg/xine_encoder.c6
-rw-r--r--src/libflac/Makefile.am5
-rw-r--r--src/libflac/decoder_flac.c2
-rw-r--r--src/liblpcm/Makefile.am3
-rw-r--r--src/liblpcm/xine_decoder.c4
-rw-r--r--src/libmad/Makefile.am4
-rw-r--r--src/libmad/xine_decoder.c4
-rw-r--r--src/libmpeg2/Makefile.am3
-rw-r--r--src/libmpeg2/xine_decoder.c4
-rw-r--r--src/libmusepack/Makefile.am3
-rw-r--r--src/libmusepack/xine_decoder.c4
-rw-r--r--src/libreal/Makefile.am6
-rw-r--r--src/libreal/audio_decoder.c8
-rw-r--r--src/libreal/xine_decoder.c8
-rw-r--r--src/libspeex/Makefile.am5
-rw-r--r--src/libspeex/xine_decoder.c4
-rw-r--r--src/libspucc/Makefile.am4
-rw-r--r--src/libspucc/xine_decoder.c4
-rw-r--r--src/libspucmml/Makefile.am3
-rw-r--r--src/libspucmml/xine_decoder.c4
-rw-r--r--src/libspudec/Makefile.am4
-rw-r--r--src/libspudec/xine_decoder.c4
-rw-r--r--src/libspudvb/Makefile.am3
-rw-r--r--src/libspudvb/xine_decoder.c4
-rw-r--r--src/libsputext/Makefile.am6
-rw-r--r--src/libsputext/demux_sputext.c4
-rw-r--r--src/libsputext/xine_decoder.c4
-rw-r--r--src/libtheora/Makefile.am2
-rw-r--r--src/libtheora/xine_decoder.c4
-rw-r--r--src/libvorbis/Makefile.am5
-rw-r--r--src/libvorbis/xine_decoder.c4
-rw-r--r--src/libw32dll/Makefile.am6
-rw-r--r--src/libw32dll/qt_decoder.c4
-rw-r--r--src/libw32dll/w32codec.c4
-rw-r--r--src/libxineadec/Makefile.am9
-rw-r--r--src/libxineadec/fooaudio.c4
-rw-r--r--src/libxineadec/gsm610.c4
-rw-r--r--src/libxineadec/gsm610/Makefile.am1
-rw-r--r--src/libxineadec/nosefart/Makefile.am4
-rw-r--r--src/libxineadec/nsf.c4
-rw-r--r--src/libxinevdec/Makefile.am10
-rw-r--r--src/libxinevdec/bitplane.c4
-rw-r--r--src/libxinevdec/foovideo.c4
-rw-r--r--src/libxinevdec/gdkpixbuf.c4
-rw-r--r--src/libxinevdec/image.c4
-rw-r--r--src/libxinevdec/rgb.c4
-rw-r--r--src/libxinevdec/yuv.c4
-rw-r--r--src/post/audio/Makefile.am5
-rw-r--r--src/post/audio/audio_filters.c4
-rw-r--r--src/post/deinterlace/Makefile.am3
-rw-r--r--src/post/deinterlace/plugins/Makefile.am3
-rw-r--r--src/post/deinterlace/xine_plugin.c4
-rw-r--r--src/post/goom/Makefile.am3
-rw-r--r--src/post/goom/xine_goom.c4
-rw-r--r--src/post/mosaico/Makefile.am6
-rw-r--r--src/post/mosaico/mosaico.c4
-rw-r--r--src/post/mosaico/switch.c4
-rw-r--r--src/post/planar/Makefile.am3
-rw-r--r--src/post/planar/planar.c4
-rw-r--r--src/post/visualizations/Makefile.am5
-rw-r--r--src/post/visualizations/fooviz.c4
-rw-r--r--src/post/visualizations/visualizations.c4
-rw-r--r--src/video_out/Makefile.am61
-rw-r--r--src/video_out/video_out_aa.c4
-rw-r--r--src/video_out/video_out_caca.c4
-rw-r--r--src/video_out/video_out_directfb.c2
-rwxr-xr-xsrc/video_out/video_out_directx.c4
-rw-r--r--src/video_out/video_out_fb.c4
-rw-r--r--src/video_out/video_out_none.c4
-rw-r--r--src/video_out/video_out_opengl.c4
-rw-r--r--src/video_out/video_out_pgx32.c4
-rw-r--r--src/video_out/video_out_pgx64.c4
-rw-r--r--src/video_out/video_out_sdl.c4
-rw-r--r--src/video_out/video_out_stk.c4
-rw-r--r--src/video_out/video_out_syncfb.c4
-rw-r--r--src/video_out/video_out_vidix.c4
-rw-r--r--src/video_out/video_out_xshm.c4
-rw-r--r--src/video_out/video_out_xv.c4
-rw-r--r--src/video_out/video_out_xvmc.c4
-rw-r--r--src/video_out/video_out_xxmc.c4
153 files changed, 464 insertions, 399 deletions
diff --git a/configure.ac b/configure.ac
index 4fa002269..aa077c1cb 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1942,6 +1942,17 @@ dnl WARNING! Do not move this check behind the $(MULTIPASS_CFLAGS)!
dnl (the alignment test macro does not like variables in the CFLAGS)
AC_C_ATTRIBUTE_ALIGNED
+CC_FLAG_VISIBILITY([
+ AC_DEFINE([EXPORTED],
+ [__attribute__((visibility("default")))],
+ [Mark a symbol as being exported if visibility is changed])
+ VISIBILITY_FLAG="-fvisibility=hidden"
+ ], [
+ AC_DEFINE([EXPORTED], [], [Dummy mark as being exported])
+ ])
+
+AC_SUBST([VISIBILITY_FLAG])
+
dnl Common cflags for all platforms
CFLAGS="-DNDEBUG -D_REENTRANT -D_FILE_OFFSET_BITS=64 -DXINE_COMPILE \$(MULTIPASS_CFLAGS) $CFLAGS"
DEBUG_CFLAGS="-D_REENTRANT -D_FILE_OFFSET_BITS=64 -DXINE_COMPILE $DEBUG_CFLAGS"
@@ -2069,38 +2080,6 @@ AM_CONDITIONAL(ENABLE_VIS, test x"$has_vis" = "xyes")
AM_CONDITIONAL(HAVE_FFMMX, test x"$enable_ffmmx" = "xyes")
dnl ---------------------------------------------
-dnl Build xine plugins with only the "xine_plugin_info" symbol exported
-dnl (let the user disable this feature, in case libtool does not offer this
-dnl feature on the target platform)
-dnl ---------------------------------------------
-
-AC_ARG_ENABLE(min-symtab,
- AC_HELP_STRING([--disable-min-symtab], [export all global symbols from xine plugins]),
- [
- if test "x$enableval" = "xno" ; then
- XINE_PLUGIN_MIN_SYMS=""
- else
- XINE_PLUGIN_MIN_SYMS="-export-symbols-regex xine_plugin_info"
- fi
- ],
- XINE_PLUGIN_MIN_SYMS="-export-symbols-regex xine_plugin_info")
-
-if test "$with_gnu_ld" = yes; then
- dnl
- dnl -export-symbols-regex in libtool 1.4.X is broken, when GNU ld is
- dnl used for linking. libtool / gnu ld does not touch the dynamic
- dnl symbol table, but removes the unwanted symbols from the
- dnl symbol table => The debug versions of the the xine-lib plugins
- dnl cannot be debugged.
- dnl
- dnl Don't use libtool's -export-symbols-regex on such a platform for now
- dnl
- XINE_PLUGIN_MIN_SYMS=""
-fi
-
-AC_SUBST(XINE_PLUGIN_MIN_SYMS)
-
-dnl ---------------------------------------------
dnl Set IMPURE_TEXT_LDFLAGS
dnl ---------------------------------------------
diff --git a/src/audio_out/Makefile.am b/src/audio_out/Makefile.am
index 1bbfa396f..3bdf49e26 100644
--- a/src/audio_out/Makefile.am
+++ b/src/audio_out/Makefile.am
@@ -1,7 +1,6 @@
include $(top_srcdir)/misc/Makefile.common
-AM_CFLAGS = -DXINE_COMPILE $(ALSA_CFLAGS) $(ESD_CFLAGS) $(IRIXAL_CFLAGS) $(ARTS_CFLAGS) \
- $(POLYPAUDIO_CFLAGS) $(FUSIONSOUND_CFLAGS)
+AM_CPPFLAGS = -DXINE_COMPILE
EXTRA_DIST = audio_irixal_out.c
@@ -79,39 +78,48 @@ lib_LTLIBRARIES = xineplug_ao_out_none.la xineplug_ao_out_file.la \
xineplug_ao_out_none_la_SOURCES = audio_none_out.c
xineplug_ao_out_none_la_LIBADD = $(XINE_LIB)
-xineplug_ao_out_none_la_LDFLAGS = -avoid-version -module @XINE_PLUGIN_MIN_SYMS@
+xineplug_ao_out_none_la_CFLAGS = $(VISIBILITY_FLAG)
+xineplug_ao_out_none_la_LDFLAGS = -avoid-version -module
xineplug_ao_out_file_la_SOURCES = audio_file_out.c
xineplug_ao_out_file_la_LIBADD = $(XINE_LIB)
-xineplug_ao_out_file_la_LDFLAGS = -avoid-version -module @XINE_PLUGIN_MIN_SYMS@
+xineplug_ao_out_file_la_CFLAGS = $(VISIBILITY_FLAG)
+xineplug_ao_out_file_la_LDFLAGS = -avoid-version -module
xineplug_ao_out_oss_la_SOURCES = audio_oss_out.c
xineplug_ao_out_oss_la_LIBADD = $(XINE_LIB)
-xineplug_ao_out_oss_la_LDFLAGS = -avoid-version -module @XINE_PLUGIN_MIN_SYMS@
+xineplug_ao_out_oss_la_CFLAGS = $(VISIBILITY_FLAG)
+xineplug_ao_out_oss_la_LDFLAGS = -avoid-version -module
xineplug_ao_out_alsa_la_SOURCES = audio_alsa_out.c
xineplug_ao_out_alsa_la_LIBADD = $(ALSA_LIBS) $(XINE_LIB)
-xineplug_ao_out_alsa_la_LDFLAGS = -avoid-version -module @XINE_PLUGIN_MIN_SYMS@
+xineplug_ao_out_alsa_la_CFLAGS = $(VISIBILITY_FLAG) $(ALSA_CFLAGS)
+xineplug_ao_out_alsa_la_LDFLAGS = -avoid-version -module
xineplug_ao_out_esd_la_SOURCES = audio_esd_out.c
xineplug_ao_out_esd_la_LIBADD = $(ESD_LIBS) $(XINE_LIB)
-xineplug_ao_out_esd_la_LDFLAGS = -avoid-version -module @XINE_PLUGIN_MIN_SYMS@
+xineplug_ao_out_esd_la_CFLAGS = $(VISIBILITY_FLAG) $(ESD_CFLAGS)
+xineplug_ao_out_esd_la_LDFLAGS = -avoid-version -module
xineplug_ao_out_sun_la_SOURCES = audio_sun_out.c
-xineplug_ao_out_sun_la_LDFLAGS = -avoid-version -module @XINE_PLUGIN_MIN_SYMS@
+xineplug_ao_out_sun_la_CFLAGS = $(VISIBILITY_FLAG)
+xineplug_ao_out_sun_la_LDFLAGS = -avoid-version -module
#xineplug_ao_out_irixal_la_SOURCES = audio_irixal_out.c
#xineplug_ao_out_irixal_la_LIBADD = $(IRIXAL_LIBS)
-#xineplug_ao_out_irixal_la_LDFLAGS = -avoid-version -module @XINE_PLUGIN_MIN_SYMS@
+#xineplug_ao_out_irixal_la_CFLAGS = $(VISIBILITY_FLAG) $(IRIXAL_CFLAGS)
+#xineplug_ao_out_irixal_la_LDFLAGS = -avoid-version -module
xineplug_ao_out_arts_la_SOURCES = audio_arts_out.c
xineplug_ao_out_arts_la_LIBADD = $(ARTS_LIBS)
-xineplug_ao_out_arts_la_LDFLAGS = -avoid-version -module @XINE_PLUGIN_MIN_SYMS@
+xineplug_ao_out_arts_la_CFLAGS = $(VISIBILITY_FLAG) $(ARTS_CFLAGS)
+xineplug_ao_out_arts_la_LDFLAGS = -avoid-version -module
xineplug_ao_out_directx_la_SOURCES = audio_directx_out.c
xineplug_ao_out_directx_la_CPPFLAGS = $(DIRECTX_CPPFLAGS)
xineplug_ao_out_directx_la_LIBADD = $(DIRECTX_AUDIO_LIBS) $(XINE_LIB)
-xineplug_ao_out_directx_la_LDFLAGS = -avoid-version -module @XINE_PLUGIN_MIN_SYMS@
+xineplug_ao_out_directx_la_CFLAGS = $(VISIBILITY_FLAG)
+xineplug_ao_out_directx_la_LDFLAGS = -avoid-version -module
xineplug_ao_out_coreaudio_la_SOURCES = audio_coreaudio_out.c
xineplug_ao_out_coreaudio_la_LIBADD = $(XINE_LIB)
@@ -120,19 +128,22 @@ xineplug_ao_out_coreaudio_la_LIBADD = $(XINE_LIB)
xineplug_ao_out_coreaudio_la_LDFLAGS = \
-Wl,-framework -Wl,Cocoa -framework CoreAudio \
-Wl,-framework -Wl,AudioUnit -framework AudioUnit \
- -avoid-version -module @XINE_PLUGIN_MIN_SYMS@
-xineplug_ao_out_coreaudio_la_CFLAGS = -framework CoreAudio -framework AudioUnit
+ -avoid-version -module
+xineplug_ao_out_coreaudio_la_CFLAGS = -framework CoreAudio -framework AudioUnit $(VISIBILITY_FLAG)
xineplug_ao_out_polypaudio_la_SOURCES = audio_polyp_out.c
xineplug_ao_out_polypaudio_la_LIBADD = $(POLYPAUDIO_LIBS) $(XINE_LIB)
-xineplug_ao_out_polypaudio_la_LDFLAGS = -avoid-version -module @XINE_PLUGIN_MIN_SYMS@
+xineplug_ao_out_polypaudio_la_CFLAGS = $(VISIBILITY_FLAG) $(POLYPAUDIO_CFLAGS)
+xineplug_ao_out_polypaudio_la_LDFLAGS = -avoid-version -module
xineplug_ao_out_directx2_la_SOURCES = audio_directx2_out.c
xineplug_ao_out_directx2_la_CPPFLAGS = $(DIRECTX_CPPFLAGS)
xineplug_ao_out_directx2_la_LIBADD = $(XINE_LIB) $(DIRECTX_AUDIO_LIBS) $(THREAD_LIBS)
-xineplug_ao_out_directx2_la_LDFLAGS = -avoid-version -module @XINE_PLUGIN_MIN_SYMS@
+xineplug_ao_out_directx2_la_CFLAGS = $(VISIBILITY_FLAG)
+xineplug_ao_out_directx2_la_LDFLAGS = -avoid-version -module
xineplug_ao_out_fusionsound_la_SOURCES = audio_fusionsound_out.c
xineplug_ao_out_fusionsound_la_LIBADD = $(FUSIONSOUND_LIBS) $(XINE_LIB)
-xineplug_ao_out_fusionsound_la_LDFLAGS = -avoid-version -module @XINE_PLUGIN_MIN_SYMS@
+xineplug_ao_out_fusionsound_la_CFLAGS = $(VISIBILITY_FLAG) $(FUSIONSOUND_CFLAGS)
+xineplug_ao_out_fusionsound_la_LDFLAGS = -avoid-version -module
diff --git a/src/audio_out/audio_alsa_out.c b/src/audio_out/audio_alsa_out.c
index 4f09d79dd..f7bd82311 100644
--- a/src/audio_out/audio_alsa_out.c
+++ b/src/audio_out/audio_alsa_out.c
@@ -26,7 +26,7 @@
* (c) 2001 James Courtier-Dutton <James@superbug.demon.co.uk>
*
*
- * $Id: audio_alsa_out.c,v 1.160 2006/05/03 19:46:06 dsalt Exp $
+ * $Id: audio_alsa_out.c,v 1.161 2006/07/10 22:08:12 dgp85 Exp $
*/
#ifdef HAVE_CONFIG_H
@@ -1685,7 +1685,7 @@ static ao_info_t ao_info_alsa = {
* exported plugin catalog entry
*/
-const plugin_info_t xine_plugin_info[] = {
+const plugin_info_t xine_plugin_info[] EXPORTED = {
/* type, API, "name", version, special_info, init_function */
{ PLUGIN_AUDIO_OUT, AO_OUT_ALSA_IFACE_VERSION, "alsa", XINE_VERSION_CODE, &ao_info_alsa, init_class },
{ PLUGIN_NONE, 0, "", 0, NULL, NULL }
diff --git a/src/audio_out/audio_arts_out.c b/src/audio_out/audio_arts_out.c
index 4196def9e..f7fd7c379 100644
--- a/src/audio_out/audio_arts_out.c
+++ b/src/audio_out/audio_arts_out.c
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: audio_arts_out.c,v 1.30 2006/06/18 20:29:03 dgp85 Exp $
+ * $Id: audio_arts_out.c,v 1.31 2006/07/10 22:08:12 dgp85 Exp $
*/
#ifdef HAVE_CONFIG_H
@@ -405,7 +405,7 @@ static ao_info_t ao_info_arts = {
* exported plugin catalog entry
*/
-const plugin_info_t xine_plugin_info[] = {
+const plugin_info_t xine_plugin_info[] EXPORTED = {
/* type, API, "name", version, special_info, init_function */
{ PLUGIN_AUDIO_OUT, AO_OUT_ARTS_IFACE_VERSION, "arts", XINE_VERSION_CODE, &ao_info_arts, init_class },
{ PLUGIN_NONE, 0, "", 0, NULL, NULL }
diff --git a/src/audio_out/audio_coreaudio_out.c b/src/audio_out/audio_coreaudio_out.c
index 45c2fa600..ab3b022c7 100644
--- a/src/audio_out/audio_coreaudio_out.c
+++ b/src/audio_out/audio_coreaudio_out.c
@@ -599,7 +599,7 @@ static const ao_info_t ao_info_coreaudio = {
* exported plugin catalog entry
*/
-const plugin_info_t xine_plugin_info[] = {
+const plugin_info_t xine_plugin_info[] EXPORTED = {
/* type, API, "name", version, special_info, init_function */
{ PLUGIN_AUDIO_OUT, AO_OUT_COREAUDIO_IFACE_VERSION, "coreaudio", XINE_VERSION_CODE, &ao_info_coreaudio, init_class },
{ PLUGIN_NONE, 0, "", 0, NULL, NULL }
diff --git a/src/audio_out/audio_directx2_out.c b/src/audio_out/audio_directx2_out.c
index cdcbeb4da..45cd5f31c 100644
--- a/src/audio_out/audio_directx2_out.c
+++ b/src/audio_out/audio_directx2_out.c
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: audio_directx2_out.c,v 1.7 2006/06/02 22:18:56 dsalt Exp $
+ * $Id: audio_directx2_out.c,v 1.8 2006/07/10 22:08:12 dgp85 Exp $
*
*
* xine audio output plugin using DirectX
@@ -1028,7 +1028,7 @@ static const ao_info_t ao_info_directx2 = {
10
};
-const plugin_info_t xine_plugin_info[] = {
+const plugin_info_t xine_plugin_info[] EXPORTED = {
{ PLUGIN_AUDIO_OUT, AO_OUT_DIRECTX2_IFACE_VERSION, "directx2", XINE_VERSION_CODE, &ao_info_directx2, init_class },
{ PLUGIN_NONE, 0, "", 0, NULL, NULL }
};
diff --git a/src/audio_out/audio_directx_out.c b/src/audio_out/audio_directx_out.c
index 6fca0eff8..71bcd7604 100755
--- a/src/audio_out/audio_directx_out.c
+++ b/src/audio_out/audio_directx_out.c
@@ -20,7 +20,7 @@
* audio_directx_out.c, direct sound audio output plugin for xine
* by Matthew Grooms <elon@altavista.com>
*
- * $Id: audio_directx_out.c,v 1.14 2006/06/02 22:18:56 dsalt Exp $
+ * $Id: audio_directx_out.c,v 1.15 2006/07/10 22:08:12 dgp85 Exp $
*/
/*
@@ -863,7 +863,7 @@ static const ao_info_t ao_info_directx = {
/*
* exported plugin catalog entry
*/
-const plugin_info_t xine_plugin_info[] = {
+const plugin_info_t xine_plugin_info[] EXPORTED = {
/* type, API, "name", version, special_info, init_function */
{ PLUGIN_AUDIO_OUT, AO_DIRECTX_IFACE_VERSION, "directx", XINE_VERSION_CODE, &ao_info_directx, init_class },
{ PLUGIN_NONE, 0, "", 0, NULL, NULL }
diff --git a/src/audio_out/audio_esd_out.c b/src/audio_out/audio_esd_out.c
index 850f9d5a5..c05e3fae0 100644
--- a/src/audio_out/audio_esd_out.c
+++ b/src/audio_out/audio_esd_out.c
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: audio_esd_out.c,v 1.33 2006/06/02 22:18:56 dsalt Exp $
+ * $Id: audio_esd_out.c,v 1.34 2006/07/10 22:08:12 dgp85 Exp $
*/
#ifdef HAVE_CONFIG_H
@@ -600,7 +600,7 @@ static const ao_info_t ao_info_esd = {
* exported plugin catalog entry
*/
-const plugin_info_t xine_plugin_info[] = {
+const plugin_info_t xine_plugin_info[] EXPORTED = {
/* type, API, "name", version, special_info, init_function */
{ PLUGIN_AUDIO_OUT, AO_OUT_ESD_IFACE_VERSION, "esd", XINE_VERSION_CODE, &ao_info_esd, init_class },
{ PLUGIN_NONE, 0, "", 0, NULL, NULL }
diff --git a/src/audio_out/audio_file_out.c b/src/audio_out/audio_file_out.c
index 7cc37cdcb..32ab2e0ae 100644
--- a/src/audio_out/audio_file_out.c
+++ b/src/audio_out/audio_file_out.c
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: audio_file_out.c,v 1.6 2006/06/18 20:29:03 dgp85 Exp $
+ * $Id: audio_file_out.c,v 1.7 2006/07/10 22:08:12 dgp85 Exp $
*/
#ifdef HAVE_CONFIG_H
@@ -396,7 +396,7 @@ static const ao_info_t ao_info_file = {
* exported plugin catalog entry
*/
-const plugin_info_t xine_plugin_info[] = {
+const plugin_info_t xine_plugin_info[] EXPORTED = {
/* type, API, "name", version, special_info, init_function */
{ PLUGIN_AUDIO_OUT, AO_OUT_FILE_IFACE_VERSION, "file", XINE_VERSION_CODE, &ao_info_file, init_class },
{ PLUGIN_NONE, 0, "", 0, NULL, NULL }
diff --git a/src/audio_out/audio_fusionsound_out.c b/src/audio_out/audio_fusionsound_out.c
index eef501ab7..d6c00f803 100644
--- a/src/audio_out/audio_fusionsound_out.c
+++ b/src/audio_out/audio_fusionsound_out.c
@@ -479,7 +479,7 @@ static const ao_info_t ao_info_fusionsound = {
* exported plugin catalog entry
*/
-const plugin_info_t xine_plugin_info[] = {
+const plugin_info_t xine_plugin_info[] EXPORTED = {
/* type, API, "name", version, special_info, init_function */
{ PLUGIN_AUDIO_OUT, AO_OUT_FS_IFACE_VERSION, "FusionSound",
XINE_VERSION_CODE, &ao_info_fusionsound, init_class },
diff --git a/src/audio_out/audio_irixal_out.c b/src/audio_out/audio_irixal_out.c
index 8bd4dd7fe..9857a9867 100644
--- a/src/audio_out/audio_irixal_out.c
+++ b/src/audio_out/audio_irixal_out.c
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: audio_irixal_out.c,v 1.14 2006/06/02 22:18:56 dsalt Exp $
+ * $Id: audio_irixal_out.c,v 1.15 2006/07/10 22:08:12 dgp85 Exp $
*/
#ifdef HAVE_CONFIG_H
@@ -420,7 +420,7 @@ ao_info_t *get_audio_out_plugin_info()
* exported plugin catalog entry
*/
-const plugin_info_t xine_plugin_info[] = {
+const plugin_info_t xine_plugin_info[] EXPORTED = {
/* type, API, "name", version, special_info, init_function */
{ PLUGIN_AUDIO_OUT, AO_OUT_IRIXAL_IFACE_VERSION, "irixal", XINE_VERSION_CODE, &ao_info_irixal, init_audio_out_plugin },
{ PLUGIN_NONE, 0, "", 0, NULL, NULL }
diff --git a/src/audio_out/audio_none_out.c b/src/audio_out/audio_none_out.c
index 3a06b36e3..65431e5e1 100644
--- a/src/audio_out/audio_none_out.c
+++ b/src/audio_out/audio_none_out.c
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: audio_none_out.c,v 1.9 2006/06/02 22:18:56 dsalt Exp $
+ * $Id: audio_none_out.c,v 1.10 2006/07/10 22:08:12 dgp85 Exp $
*/
#ifdef HAVE_CONFIG_H
@@ -257,7 +257,7 @@ static const ao_info_t ao_info_none = {
* exported plugin catalog entry
*/
-const plugin_info_t xine_plugin_info[] = {
+const plugin_info_t xine_plugin_info[] EXPORTED = {
/* type, API, "name", version, special_info, init_function */
{ PLUGIN_AUDIO_OUT, AO_OUT_NONE_IFACE_VERSION, "none", XINE_VERSION_CODE, &ao_info_none, init_class },
{ PLUGIN_NONE, 0, "", 0, NULL, NULL }
diff --git a/src/audio_out/audio_oss_out.c b/src/audio_out/audio_oss_out.c
index 07be3e19d..5874f0449 100644
--- a/src/audio_out/audio_oss_out.c
+++ b/src/audio_out/audio_oss_out.c
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: audio_oss_out.c,v 1.115 2006/06/02 22:18:56 dsalt Exp $
+ * $Id: audio_oss_out.c,v 1.116 2006/07/10 22:08:12 dgp85 Exp $
*
* 20-8-2001 First implementation of Audio sync and Audio driver separation.
* Copyright (C) 2001 James Courtier-Dutton James@superbug.demon.co.uk
@@ -1179,7 +1179,7 @@ static const ao_info_t ao_info_oss = {
* exported plugin catalog entry
*/
-const plugin_info_t xine_plugin_info[] = {
+const plugin_info_t xine_plugin_info[] EXPORTED = {
/* type, API, "name", version, special_info, init_function */
{ PLUGIN_AUDIO_OUT, AO_OUT_OSS_IFACE_VERSION, "oss", XINE_VERSION_CODE, &ao_info_oss, init_class },
{ PLUGIN_NONE, 0, "", 0, NULL, NULL }
diff --git a/src/audio_out/audio_polyp_out.c b/src/audio_out/audio_polyp_out.c
index 1d7334357..208b3500c 100644
--- a/src/audio_out/audio_polyp_out.c
+++ b/src/audio_out/audio_polyp_out.c
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: audio_polyp_out.c,v 1.7 2006/06/02 22:18:56 dsalt Exp $
+ * $Id: audio_polyp_out.c,v 1.8 2006/07/10 22:08:12 dgp85 Exp $
*
* ao plugin for polypaudio:
* http://0pointer.de/lennart/projects/polypaudio/
@@ -568,7 +568,7 @@ static const ao_info_t ao_info_polyp = {
* exported plugin catalog entry
*/
-const plugin_info_t xine_plugin_info[] = {
+const plugin_info_t xine_plugin_info[] EXPORTED = {
/* type, API, "name", version, special_info, init_function */
{ PLUGIN_AUDIO_OUT, 8, "polypaudio", XINE_VERSION_CODE, &ao_info_polyp, init_class },
{ PLUGIN_NONE, 0, "", 0, NULL, NULL }
diff --git a/src/audio_out/audio_sun_out.c b/src/audio_out/audio_sun_out.c
index 74c4253b5..cb1a1d2e1 100644
--- a/src/audio_out/audio_sun_out.c
+++ b/src/audio_out/audio_sun_out.c
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: audio_sun_out.c,v 1.43 2006/06/14 15:44:54 komadori Exp $
+ * $Id: audio_sun_out.c,v 1.44 2006/07/10 22:08:12 dgp85 Exp $
*/
#ifdef HAVE_CONFIG_H
@@ -1017,7 +1017,7 @@ static const ao_info_t ao_info_sun = {
* exported plugin catalog entry
*/
-const plugin_info_t xine_plugin_info[] = {
+const plugin_info_t xine_plugin_info[] EXPORTED = {
/* type, API, "name", version, special_info, init_function */
{ PLUGIN_AUDIO_OUT, AO_SUN_IFACE_VERSION, "sun", XINE_VERSION_CODE, &ao_info_sun, ao_sun_init_class },
{ PLUGIN_NONE, 0, "", 0, NULL, NULL }
diff --git a/src/demuxers/Makefile.am b/src/demuxers/Makefile.am
index 045ff21d5..b7904e54b 100644
--- a/src/demuxers/Makefile.am
+++ b/src/demuxers/Makefile.am
@@ -52,64 +52,78 @@ lib_LTLIBRARIES = $(ogg_module) $(asf_module) $(mng_module) $(image_module) \
xineplug_dmx_ogg_la_SOURCES = demux_ogg.c
xineplug_dmx_ogg_la_LIBADD = $(VORBIS_LIBS) $(SPEEX_LIBS) $(THEORA_LIBS) $(OGG_LIBS) $(XINE_LIB)
-xineplug_dmx_ogg_la_LDFLAGS = -avoid-version -module @XINE_PLUGIN_MIN_SYMS@
+xineplug_dmx_ogg_la_CFLAGS = $(VISIBILITY_FLAG) $(AM_CFLAGS)
+xineplug_dmx_ogg_la_LDFLAGS = -avoid-version -module
xineplug_dmx_avi_la_SOURCES = demux_avi.c
xineplug_dmx_avi_la_LIBADD = $(XINE_LIB)
-xineplug_dmx_avi_la_LDFLAGS = -avoid-version -module @XINE_PLUGIN_MIN_SYMS@
+xineplug_dmx_avi_la_CFLAGS = $(VISIBILITY_FLAG) $(AM_CFLAGS)
+xineplug_dmx_avi_la_LDFLAGS = -avoid-version -module
xineplug_dmx_mpeg_block_la_SOURCES = demux_mpeg_block.c
xineplug_dmx_mpeg_block_la_LIBADD = $(XINE_LIB)
-xineplug_dmx_mpeg_block_la_LDFLAGS = -avoid-version -module @XINE_PLUGIN_MIN_SYMS@
+xineplug_dmx_mpeg_block_la_CFLAGS = $(VISIBILITY_FLAG) $(AM_CFLAGS)
+xineplug_dmx_mpeg_block_la_LDFLAGS = -avoid-version -module
xineplug_dmx_mpeg_la_SOURCES = demux_mpeg.c
xineplug_dmx_mpeg_la_LIBADD = $(XINE_LIB)
-xineplug_dmx_mpeg_la_LDFLAGS = -avoid-version -module @XINE_PLUGIN_MIN_SYMS@
+xineplug_dmx_mpeg_la_CFLAGS = $(VISIBILITY_FLAG) $(AM_CFLAGS)
+xineplug_dmx_mpeg_la_LDFLAGS = -avoid-version -module
xineplug_dmx_mpeg_elem_la_SOURCES = demux_elem.c
xineplug_dmx_mpeg_elem_la_LIBADD = $(XINE_LIB)
-xineplug_dmx_mpeg_elem_la_LDFLAGS = -avoid-version -module @XINE_PLUGIN_MIN_SYMS@
+xineplug_dmx_mpeg_elem_la_CFLAGS = $(VISIBILITY_FLAG) $(AM_CFLAGS)
+xineplug_dmx_mpeg_elem_la_LDFLAGS = -avoid-version -module
xineplug_dmx_mpeg_pes_la_SOURCES = demux_mpeg_pes.c
xineplug_dmx_mpeg_pes_la_LIBADD = $(XINE_LIB)
-xineplug_dmx_mpeg_pes_la_LDFLAGS = -avoid-version -module @XINE_PLUGIN_MIN_SYMS@
+xineplug_dmx_mpeg_pes_la_CFLAGS = $(VISIBILITY_FLAG) $(AM_CFLAGS)
+xineplug_dmx_mpeg_pes_la_LDFLAGS = -avoid-version -module
xineplug_dmx_mpeg_ts_la_SOURCES = demux_ts.c
xineplug_dmx_mpeg_ts_la_LIBADD = $(XINE_LIB)
-xineplug_dmx_mpeg_ts_la_LDFLAGS = -avoid-version -module @XINE_PLUGIN_MIN_SYMS@
+xineplug_dmx_mpeg_ts_la_CFLAGS = $(VISIBILITY_FLAG) $(AM_CFLAGS)
+xineplug_dmx_mpeg_ts_la_LDFLAGS = -avoid-version -module
xineplug_dmx_qt_la_SOURCES = demux_qt.c
xineplug_dmx_qt_la_LIBADD = $(XINE_LIB) $(ZLIB_LIBS)
-xineplug_dmx_qt_la_LDFLAGS = -avoid-version -module @XINE_PLUGIN_MIN_SYMS@
+xineplug_dmx_qt_la_CFLAGS = $(VISIBILITY_FLAG) $(AM_CFLAGS)
+xineplug_dmx_qt_la_LDFLAGS = -avoid-version -module
xineplug_dmx_asf_la_SOURCES = demux_asf.c
xineplug_dmx_asf_la_LIBADD = $(XINE_LIB)
-xineplug_dmx_asf_la_CFLAGS = $(AM_CFLAGS) -fno-strict-aliasing
-xineplug_dmx_asf_la_LDFLAGS = -avoid-version -module @XINE_PLUGIN_MIN_SYMS@
+xineplug_dmx_asf_la_CFLAGS = $(VISIBILITY_FLAG) $(AM_CFLAGS) -fno-strict-aliasing
+xineplug_dmx_asf_la_LDFLAGS = -avoid-version -module
xineplug_dmx_fli_la_SOURCES = demux_fli.c
xineplug_dmx_fli_la_LIBADD = $(XINE_LIB)
-xineplug_dmx_fli_la_LDFLAGS = -avoid-version -module @XINE_PLUGIN_MIN_SYMS@
+xineplug_dmx_fli_la_CFLAGS = $(VISIBILITY_FLAG) $(AM_CFLAGS)
+xineplug_dmx_fli_la_LDFLAGS = -avoid-version -module
xineplug_dmx_yuv4mpeg2_la_SOURCES = demux_yuv4mpeg2.c
xineplug_dmx_yuv4mpeg2_la_LIBADD = $(XINE_LIB)
-xineplug_dmx_yuv4mpeg2_la_LDFLAGS = -avoid-version -module @XINE_PLUGIN_MIN_SYMS@
+xineplug_dmx_yuv4mpeg2_la_CFLAGS = $(VISIBILITY_FLAG) $(AM_CFLAGS)
+xineplug_dmx_yuv4mpeg2_la_LDFLAGS = -avoid-version -module
xineplug_dmx_real_la_SOURCES = demux_real.c
xineplug_dmx_real_la_LIBADD = $(XINE_LIB)
-xineplug_dmx_real_la_LDFLAGS = -avoid-version -module @XINE_PLUGIN_MIN_SYMS@
+xineplug_dmx_real_la_CFLAGS = $(VISIBILITY_FLAG) $(AM_CFLAGS)
+xineplug_dmx_real_la_LDFLAGS = -avoid-version -module
xineplug_dmx_rawdv_la_SOURCES = demux_rawdv.c
xineplug_dmx_rawdv_la_LIBADD = $(XINE_LIB)
-xineplug_dmx_rawdv_la_LDFLAGS = -avoid-version -module @XINE_PLUGIN_MIN_SYMS@
+xineplug_dmx_rawdv_la_CFLAGS = $(VISIBILITY_FLAG) $(AM_CFLAGS)
+xineplug_dmx_rawdv_la_LDFLAGS = -avoid-version -module
xineplug_dmx_mng_la_SOURCES = demux_mng.c
xineplug_dmx_mng_la_LIBADD = $(XINE_LIB) $(ZLIB_LIBS) $(MNG_LIBS)
-xineplug_dmx_mng_la_LDFLAGS = -avoid-version -module @XINE_PLUGIN_MIN_SYMS@
+xineplug_dmx_mng_la_CFLAGS = $(VISIBILITY_FLAG) $(AM_CFLAGS)
+xineplug_dmx_mng_la_LDFLAGS = -avoid-version -module
xineplug_dmx_pva_la_SOURCES = demux_pva.c
xineplug_dmx_pva_la_LIBADD = $(XINE_LIB)
-xineplug_dmx_pva_la_LDFLAGS = -avoid-version -module @XINE_PLUGIN_MIN_SYMS@
+xineplug_dmx_pva_la_CFLAGS = $(VISIBILITY_FLAG) $(AM_CFLAGS)
+xineplug_dmx_pva_la_LDFLAGS = -avoid-version -module
xineplug_dmx_games_la_SOURCES = group_games.c demux_eawve.c \
demux_idcin.c demux_ipmovie.c demux_roq.c \
@@ -117,7 +131,8 @@ xineplug_dmx_games_la_SOURCES = group_games.c demux_eawve.c \
demux_film.c demux_smjpeg.c demux_4xm.c \
demux_vmd.c
xineplug_dmx_games_la_LIBADD = $(XINE_LIB)
-xineplug_dmx_games_la_LDFLAGS = -avoid-version -module @XINE_PLUGIN_MIN_SYMS@
+xineplug_dmx_games_la_CFLAGS = $(VISIBILITY_FLAG) $(AM_CFLAGS)
+xineplug_dmx_games_la_LDFLAGS = -avoid-version -module
xineplug_dmx_audio_la_SOURCES = group_audio.c demux_aud.c demux_aiff.c \
demux_cdda.c demux_mpgaudio.c demux_nsf.c \
@@ -126,36 +141,43 @@ xineplug_dmx_audio_la_SOURCES = group_audio.c demux_aud.c demux_aiff.c \
demux_aac.c demux_mod.c demux_flac.c \
demux_mpc.c demux_dts.c demux_shn.c
xineplug_dmx_audio_la_LIBADD = $(XINE_LIB) $(LIBMODPLUG_LIBS)
-xineplug_dmx_audio_la_LDFLAGS = -avoid-version -module @XINE_PLUGIN_MIN_SYMS@
+xineplug_dmx_audio_la_CFLAGS = $(VISIBILITY_FLAG) $(AM_CFLAGS)
+xineplug_dmx_audio_la_LDFLAGS = -avoid-version -module
xineplug_dmx_yuv_frames_la_SOURCES = demux_yuv_frames.c
xineplug_dmx_yuv_frames_la_LIBADD = $(XINE_LIB)
-xineplug_dmx_yuv_frames_la_LDFLAGS = -avoid-version -module @XINE_PLUGIN_MIN_SYMS@
+xineplug_dmx_yuv_fames_la_CFLAGS = $(VISIBILITY_FLAG) $(AM_CFLAGS)
+xineplug_dmx_yuv_frames_la_LDFLAGS = -avoid-version -module
xineplug_dmx_slave_la_SOURCES = demux_slave.c
xineplug_dmx_slave_la_LIBADD = $(XINE_LIB)
-xineplug_dmx_slave_la_LDFLAGS = -avoid-version -module @XINE_PLUGIN_MIN_SYMS@
+xineplug_dmx_slave_la_CFLAGS = $(VISIBILITY_FLAG) $(AM_CFLAGS)
+xineplug_dmx_slave_la_LDFLAGS = -avoid-version -module
xineplug_dmx_image_la_SOURCES = demux_image.c
xineplug_dmx_image_la_LIBADD = $(XINE_LIB)
-xineplug_dmx_image_la_LDFLAGS = -avoid-version -module @XINE_PLUGIN_MIN_SYMS@
+xineplug_dmx_images_la_CFLAGS = $(VISIBILITY_FLAG) $(AM_CFLAGS)
+xineplug_dmx_image_la_LDFLAGS = -avoid-version -module
xineplug_dmx_nsv_la_SOURCES = demux_nsv.c
xineplug_dmx_nsv_la_LIBADD = $(XINE_LIB)
-xineplug_dmx_nsv_la_LDFLAGS = -avoid-version -module @XINE_PLUGIN_MIN_SYMS@
+xineplug_dmx_nsv_la_CFLAGS = $(VISIBILITY_FLAG) $(AM_CFLAGS)
+xineplug_dmx_nsv_la_LDFLAGS = -avoid-version -module
xineplug_dmx_matroska_la_SOURCES = demux_matroska.c ebml.c
-xineplug_dmx_matroska_la_CFLAGS = $(AM_CFLAGS) -fno-strict-aliasing
xineplug_dmx_matroska_la_LIBADD = $(XINE_LIB) $(ZLIB_LIBS)
-xineplug_dmx_matroska_la_LDFLAGS = -avoid-version -module @XINE_PLUGIN_MIN_SYMS@
+xineplug_dmx_matroska_la_CFLAGS = $(VISIBILITY_FLAG) $(AM_CFLAGS) -fno-strict-aliasing
+xineplug_dmx_matroska_la_LDFLAGS = -avoid-version -module
xineplug_dmx_iff_la_SOURCES = demux_iff.c
xineplug_dmx_iff_la_LIBADD = $(XINE_LIB)
-xineplug_dmx_iff_la_LDFLAGS = -avoid-version -module @XINE_PLUGIN_MIN_SYMS@
+xineplug_dmx_iff_la_CFLAGS = $(VISIBILITY_FLAG) $(AM_CFLAGS)
+xineplug_dmx_iff_la_LDFLAGS = -avoid-version -module
xineplug_dmx_flv_la_SOURCES = demux_flv.c
xineplug_dmx_flv_la_LIBADD = $(XINE_LIB)
-xineplug_dmx_flv_la_LDFLAGS = -avoid-version -module @XINE_PLUGIN_MIN_SYMS@
+xineplug_dmx_flv_la_CFLAGS = $(VISIBILITY_FLAG) $(AM_CFLAGS)
+xineplug_dmx_flv_la_LDFLAGS = -avoid-version -module
include_HEADERS = demux.h
noinst_HEADERS = asfheader.h qtpalette.h group_games.h group_audio.h id3.h ebml.h matroska.h iff.h
diff --git a/src/demuxers/demux_asf.c b/src/demuxers/demux_asf.c
index 93374573b..6e2a514a6 100644
--- a/src/demuxers/demux_asf.c
+++ b/src/demuxers/demux_asf.c
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: demux_asf.c,v 1.178 2006/06/20 01:49:20 dgp85 Exp $
+ * $Id: demux_asf.c,v 1.179 2006/07/10 22:08:13 dgp85 Exp $
*
* demultiplexer for asf streams
*
@@ -2336,7 +2336,7 @@ static const demuxer_info_t demux_info_asf = {
10 /* priority */
};
-const plugin_info_t xine_plugin_info[] = {
+const plugin_info_t xine_plugin_info[] EXPORTED = {
/* type, API, "name", version, special_info, init_function */
{ PLUGIN_DEMUX, 26, "asf", XINE_VERSION_CODE, &demux_info_asf, init_class },
{ PLUGIN_NONE, 0, "", 0, NULL, NULL }
diff --git a/src/demuxers/demux_avi.c b/src/demuxers/demux_avi.c
index 00c36dec9..4f4cbc428 100644
--- a/src/demuxers/demux_avi.c
+++ b/src/demuxers/demux_avi.c
@@ -19,7 +19,7 @@
*/
/*
- * $Id: demux_avi.c,v 1.227 2006/06/18 19:41:39 dgp85 Exp $
+ * $Id: demux_avi.c,v 1.228 2006/07/10 22:08:13 dgp85 Exp $
*
* demultiplexer for avi streams
*
@@ -2361,7 +2361,7 @@ static const demuxer_info_t demux_info_avi = {
10 /* priority */
};
-const plugin_info_t xine_plugin_info[] = {
+const plugin_info_t xine_plugin_info[] EXPORTED = {
/* type, API, "name", version, special_info, init_function */
{ PLUGIN_DEMUX, 26, "avi", XINE_VERSION_CODE, &demux_info_avi, init_class },
{ PLUGIN_NONE, 0, "", 0, NULL, NULL }
diff --git a/src/demuxers/demux_elem.c b/src/demuxers/demux_elem.c
index 5b4e68744..2645992bc 100644
--- a/src/demuxers/demux_elem.c
+++ b/src/demuxers/demux_elem.c
@@ -19,7 +19,7 @@
*/
/*
- * $Id: demux_elem.c,v 1.88 2006/06/02 22:18:56 dsalt Exp $
+ * $Id: demux_elem.c,v 1.89 2006/07/10 22:08:13 dgp85 Exp $
*
* demultiplexer for elementary mpeg streams
*/
@@ -305,7 +305,7 @@ static const demuxer_info_t demux_info_elem = {
0 /* priority */
};
-const plugin_info_t xine_plugin_info[] = {
+const plugin_info_t xine_plugin_info[] EXPORTED = {
/* type, API, "name", version, special_info, init_function */
{ PLUGIN_DEMUX, 26, "elem", XINE_VERSION_CODE, &demux_info_elem, init_plugin },
{ PLUGIN_NONE, 0, "", 0, NULL, NULL }
diff --git a/src/demuxers/demux_fli.c b/src/demuxers/demux_fli.c
index 16820fcdd..e17e47258 100644
--- a/src/demuxers/demux_fli.c
+++ b/src/demuxers/demux_fli.c
@@ -24,7 +24,7 @@
* avoid while programming a FLI decoder, visit:
* http://www.pcisys.net/~melanson/codecs/
*
- * $Id: demux_fli.c,v 1.58 2006/06/02 22:18:56 dsalt Exp $
+ * $Id: demux_fli.c,v 1.59 2006/07/10 22:08:13 dgp85 Exp $
*/
#ifdef HAVE_CONFIG_H
@@ -398,7 +398,7 @@ static const demuxer_info_t demux_info_fli = {
10 /* priority */
};
-const plugin_info_t xine_plugin_info[] = {
+const plugin_info_t xine_plugin_info[] EXPORTED = {
/* type, API, "name", version, special_info, init_function */
{ PLUGIN_DEMUX, 26, "fli", XINE_VERSION_CODE, &demux_info_fli, init_plugin },
{ PLUGIN_NONE, 0, "", 0, NULL, NULL }
diff --git a/src/demuxers/demux_flv.c b/src/demuxers/demux_flv.c
index 15bbc82ec..57f83e002 100644
--- a/src/demuxers/demux_flv.c
+++ b/src/demuxers/demux_flv.c
@@ -24,7 +24,7 @@
* For more information on the FLV file format, visit:
* http://download.macromedia.com/pub/flash/flash_file_format_specification.pdf
*
- * $Id: demux_flv.c,v 1.8 2006/06/02 22:18:56 dsalt Exp $
+ * $Id: demux_flv.c,v 1.9 2006/07/10 22:08:13 dgp85 Exp $
*/
#ifdef HAVE_CONFIG_H
@@ -343,7 +343,7 @@ static const demuxer_info_t demux_info_flv = {
10 /* priority */
};
-const plugin_info_t xine_plugin_info[] = {
+const plugin_info_t xine_plugin_info[] EXPORTED = {
/* type, API, "name", version, special_info, init_function */
{ PLUGIN_DEMUX, 26, "flashvideo", XINE_VERSION_CODE, &demux_info_flv, init_plugin },
{ PLUGIN_NONE, 0, "", 0, NULL, NULL }
diff --git a/src/demuxers/demux_iff.c b/src/demuxers/demux_iff.c
index a240b87ad..213ac4c99 100644
--- a/src/demuxers/demux_iff.c
+++ b/src/demuxers/demux_iff.c
@@ -36,7 +36,7 @@
* * ANIM (Animations)
* - Animation works fine, without seeking.
*
- * $Id: demux_iff.c,v 1.16 2006/06/02 22:18:56 dsalt Exp $
+ * $Id: demux_iff.c,v 1.17 2006/07/10 22:08:13 dgp85 Exp $
*/
#ifdef HAVE_CONFIG_H
@@ -1334,7 +1334,7 @@ static const demuxer_info_t demux_info_iff = {
10 /* priority */
};
-const plugin_info_t xine_plugin_info[] = {
+const plugin_info_t xine_plugin_info[] EXPORTED = {
/* type, API, "name", version, special_info, init_function */
{ PLUGIN_DEMUX, 26, "iff", XINE_VERSION_CODE, &demux_info_iff, init_plugin },
{ PLUGIN_NONE, 0, "", 0, NULL, NULL }
diff --git a/src/demuxers/demux_image.c b/src/demuxers/demux_image.c
index 5a6d64c08..d2a627f77 100644
--- a/src/demuxers/demux_image.c
+++ b/src/demuxers/demux_image.c
@@ -19,7 +19,7 @@
*/
/*
- * $Id: demux_image.c,v 1.23 2006/06/02 22:18:56 dsalt Exp $
+ * $Id: demux_image.c,v 1.24 2006/07/10 22:08:13 dgp85 Exp $
*
* image dummy demultiplexer
*/
@@ -264,7 +264,7 @@ static const demuxer_info_t demux_info_image = {
11 /* priority */
};
-const plugin_info_t xine_plugin_info[] = {
+const plugin_info_t xine_plugin_info[] EXPORTED = {
/* type, API, "name", version, special_info, init_function */
{ PLUGIN_DEMUX, 26, "image", XINE_VERSION_CODE, &demux_info_image, init_class },
{ PLUGIN_NONE, 0, "", 0, NULL, NULL }
diff --git a/src/demuxers/demux_matroska.c b/src/demuxers/demux_matroska.c
index 7900eb42e..debd9dfb5 100644
--- a/src/demuxers/demux_matroska.c
+++ b/src/demuxers/demux_matroska.c
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: demux_matroska.c,v 1.46 2006/06/02 22:18:56 dsalt Exp $
+ * $Id: demux_matroska.c,v 1.47 2006/07/10 22:08:13 dgp85 Exp $
*
* demultiplexer for matroska streams
*
@@ -2731,7 +2731,7 @@ static const demuxer_info_t demux_info_matroska = {
10 /* priority */
};
-const plugin_info_t xine_plugin_info[] = {
+const plugin_info_t xine_plugin_info[] EXPORTED = {
/* type, API, "name", version, special_info, init_function */
{ PLUGIN_DEMUX, 26, "matroska", XINE_VERSION_CODE, &demux_info_matroska, init_class },
{ PLUGIN_NONE, 0, "", 0, NULL, NULL }
diff --git a/src/demuxers/demux_mng.c b/src/demuxers/demux_mng.c
index 29ae1108e..7f7b5bd84 100644
--- a/src/demuxers/demux_mng.c
+++ b/src/demuxers/demux_mng.c
@@ -19,7 +19,7 @@
*/
/*
- * $Id: demux_mng.c,v 1.27 2006/06/02 22:18:56 dsalt Exp $
+ * $Id: demux_mng.c,v 1.28 2006/07/10 22:08:13 dgp85 Exp $
*
* demux_mng.c, Demuxer plugin for Multiple-image Network Graphics format
*
@@ -378,7 +378,7 @@ static const demuxer_info_t demux_info_mng = {
10 /* priority */
};
-const plugin_info_t xine_plugin_info[] = {
+const plugin_info_t xine_plugin_info[] EXPORTED = {
{ PLUGIN_DEMUX, 26, "mng", XINE_VERSION_CODE, &demux_info_mng, (void*)init_plugin},
{ PLUGIN_NONE, 0, "", 0, NULL, NULL }
};
diff --git a/src/demuxers/demux_mpeg.c b/src/demuxers/demux_mpeg.c
index 0ec627f9d..61d7cc3ca 100644
--- a/src/demuxers/demux_mpeg.c
+++ b/src/demuxers/demux_mpeg.c
@@ -19,7 +19,7 @@
*/
/*
- * $Id: demux_mpeg.c,v 1.149 2006/06/02 22:18:56 dsalt Exp $
+ * $Id: demux_mpeg.c,v 1.150 2006/07/10 22:08:13 dgp85 Exp $
*
* demultiplexer for mpeg 1/2 program streams
* reads streams of variable blocksizes
@@ -1267,7 +1267,7 @@ static const demuxer_info_t demux_info_mpeg = {
9 /* priority */
};
-const plugin_info_t xine_plugin_info[] = {
+const plugin_info_t xine_plugin_info[] EXPORTED = {
/* type, API, "name", version, special_info, init_function */
{ PLUGIN_DEMUX, 26, "mpeg", XINE_VERSION_CODE, &demux_info_mpeg, init_plugin },
{ PLUGIN_NONE, 0, "", 0, NULL, NULL }
diff --git a/src/demuxers/demux_mpeg_block.c b/src/demuxers/demux_mpeg_block.c
index b40571622..76c46525e 100644
--- a/src/demuxers/demux_mpeg_block.c
+++ b/src/demuxers/demux_mpeg_block.c
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: demux_mpeg_block.c,v 1.215 2006/06/17 15:20:56 dgp85 Exp $
+ * $Id: demux_mpeg_block.c,v 1.216 2006/07/10 22:08:13 dgp85 Exp $
*
* demultiplexer for mpeg 1/2 program streams
* used with fixed blocksize devices (like dvd/vcd)
@@ -1563,7 +1563,7 @@ static const demuxer_info_t demux_info_mpeg_block = {
10 /* priority */
};
-const plugin_info_t xine_plugin_info[] = {
+const plugin_info_t xine_plugin_info[] EXPORTED = {
/* type, API, "name", version, special_info, init_function */
{ PLUGIN_DEMUX, 26, "mpeg_block", XINE_VERSION_CODE, &demux_info_mpeg_block, init_plugin },
{ PLUGIN_NONE, 0, "", 0, NULL, NULL }
diff --git a/src/demuxers/demux_mpeg_pes.c b/src/demuxers/demux_mpeg_pes.c
index 83027be12..a49a3cc6b 100644
--- a/src/demuxers/demux_mpeg_pes.c
+++ b/src/demuxers/demux_mpeg_pes.c
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: demux_mpeg_pes.c,v 1.35 2006/06/17 15:20:56 dgp85 Exp $
+ * $Id: demux_mpeg_pes.c,v 1.36 2006/07/10 22:08:13 dgp85 Exp $
*
* demultiplexer for mpeg 2 PES (Packetized Elementary Streams)
* reads streams of variable blocksizes
@@ -1676,7 +1676,7 @@ static const demuxer_info_t demux_info_mpeg_pes = {
10 /* priority */
};
-const plugin_info_t xine_plugin_info[] = {
+const plugin_info_t xine_plugin_info[] EXPORTED = {
/* type, API, "name", version, special_info, init_function */
{ PLUGIN_DEMUX, 26, "mpeg_pes", XINE_VERSION_CODE, &demux_info_mpeg_pes, init_plugin },
{ PLUGIN_NONE, 0, "", 0, NULL, NULL }
diff --git a/src/demuxers/demux_nsv.c b/src/demuxers/demux_nsv.c
index d58a8e3f9..6f71a6264 100644
--- a/src/demuxers/demux_nsv.c
+++ b/src/demuxers/demux_nsv.c
@@ -23,7 +23,7 @@
* For more information regarding the NSV file format, visit:
* http://www.pcisys.net/~melanson/codecs/
*
- * $Id: demux_nsv.c,v 1.23 2006/06/02 22:18:56 dsalt Exp $
+ * $Id: demux_nsv.c,v 1.24 2006/07/10 22:08:13 dgp85 Exp $
*/
#ifdef HAVE_CONFIG_H
@@ -689,7 +689,7 @@ static const demuxer_info_t demux_info_nsv = {
10 /* priority */
};
-const plugin_info_t xine_plugin_info[] = {
+const plugin_info_t xine_plugin_info[] EXPORTED = {
/* type, API, "name", version, special_info, init_function */
{ PLUGIN_DEMUX, 26, "nsv", XINE_VERSION_CODE, &demux_info_nsv, demux_nsv_init_plugin },
{ PLUGIN_NONE, 0, "", 0, NULL, NULL }
diff --git a/src/demuxers/demux_ogg.c b/src/demuxers/demux_ogg.c
index 3cdfcadda..f3bbc1877 100644
--- a/src/demuxers/demux_ogg.c
+++ b/src/demuxers/demux_ogg.c
@@ -19,7 +19,7 @@
*/
/*
- * $Id: demux_ogg.c,v 1.166 2006/06/02 22:18:56 dsalt Exp $
+ * $Id: demux_ogg.c,v 1.167 2006/07/10 22:08:13 dgp85 Exp $
*
* demultiplexer for ogg streams
*
@@ -2124,7 +2124,7 @@ static const demuxer_info_t demux_info_ogg = {
10 /* priority */
};
-const plugin_info_t xine_plugin_info[] = {
+const plugin_info_t xine_plugin_info[] EXPORTED = {
/* type, API, "name", version, special_info, init_function */
{ PLUGIN_DEMUX, 26, "ogg", XINE_VERSION_CODE, &demux_info_ogg, ogg_init_class },
{ PLUGIN_DEMUX, 26, "anx", XINE_VERSION_CODE, &demux_info_anx, anx_init_class },
diff --git a/src/demuxers/demux_pva.c b/src/demuxers/demux_pva.c
index 3ff1e3166..44e5112c6 100644
--- a/src/demuxers/demux_pva.c
+++ b/src/demuxers/demux_pva.c
@@ -23,7 +23,7 @@
* For more information regarding the PVA file format, refer to this PDF:
* http://www.technotrend.de/download/av_format_v1.pdf
*
- * $Id: demux_pva.c,v 1.23 2006/06/02 22:18:56 dsalt Exp $
+ * $Id: demux_pva.c,v 1.24 2006/07/10 22:08:13 dgp85 Exp $
*/
#ifdef HAVE_CONFIG_H
@@ -524,7 +524,7 @@ static const demuxer_info_t demux_info_pva = {
10 /* priority */
};
-const plugin_info_t xine_plugin_info[] = {
+const plugin_info_t xine_plugin_info[] EXPORTED = {
/* type, API, "name", version, special_info, init_function */
{ PLUGIN_DEMUX, 26, "pva", XINE_VERSION_CODE, &demux_info_pva, init_plugin },
{ PLUGIN_NONE, 0, "", 0, NULL, NULL }
diff --git a/src/demuxers/demux_qt.c b/src/demuxers/demux_qt.c
index e5a8c94ed..9719bac51 100644
--- a/src/demuxers/demux_qt.c
+++ b/src/demuxers/demux_qt.c
@@ -30,7 +30,7 @@
* build_frame_table
* free_qt_info
*
- * $Id: demux_qt.c,v 1.209 2006/06/19 13:51:04 hadess Exp $
+ * $Id: demux_qt.c,v 1.210 2006/07/10 22:08:13 dgp85 Exp $
*
*/
@@ -3096,7 +3096,7 @@ static const demuxer_info_t demux_info_qt = {
10 /* priority */
};
-const plugin_info_t xine_plugin_info[] = {
+const plugin_info_t xine_plugin_info[] EXPORTED = {
/* type, API, "name", version, special_info, init_function */
{ PLUGIN_DEMUX, 26, "quicktime", XINE_VERSION_CODE, &demux_info_qt, init_plugin },
{ PLUGIN_NONE, 0, "", 0, NULL, NULL }
diff --git a/src/demuxers/demux_rawdv.c b/src/demuxers/demux_rawdv.c
index 49cc3d8b6..55b652e18 100644
--- a/src/demuxers/demux_rawdv.c
+++ b/src/demuxers/demux_rawdv.c
@@ -19,7 +19,7 @@
*/
/*
- * $Id: demux_rawdv.c,v 1.27 2006/06/02 22:18:56 dsalt Exp $
+ * $Id: demux_rawdv.c,v 1.28 2006/07/10 22:08:13 dgp85 Exp $
*
* demultiplexer for raw dv streams
*/
@@ -447,7 +447,7 @@ static const demuxer_info_t demux_info_raw_dv = {
1 /* priority */
};
-const plugin_info_t xine_plugin_info[] = {
+const plugin_info_t xine_plugin_info[] EXPORTED = {
/* type, API, "name", version, special_info, init_function */
{ PLUGIN_DEMUX, 26, "rawdv", XINE_VERSION_CODE, &demux_info_raw_dv, init_plugin },
{ PLUGIN_NONE, 0, "", 0, NULL, NULL }
diff --git a/src/demuxers/demux_real.c b/src/demuxers/demux_real.c
index 11fa5c45f..7441c8619 100644
--- a/src/demuxers/demux_real.c
+++ b/src/demuxers/demux_real.c
@@ -31,7 +31,7 @@
*
* Based on FFmpeg's libav/rm.c.
*
- * $Id: demux_real.c,v 1.108 2006/06/02 22:18:57 dsalt Exp $
+ * $Id: demux_real.c,v 1.109 2006/07/10 22:08:13 dgp85 Exp $
*/
#ifdef HAVE_CONFIG_H
@@ -1655,7 +1655,7 @@ static const demuxer_info_t demux_info_real = {
10 /* priority */
};
-const plugin_info_t xine_plugin_info[] = {
+const plugin_info_t xine_plugin_info[] EXPORTED = {
/* type, API, "name", version, special_info, init_function */
{ PLUGIN_DEMUX, 26, "real", XINE_VERSION_CODE, &demux_info_real, init_class },
{ PLUGIN_NONE, 0, "", 0, NULL, NULL }
diff --git a/src/demuxers/demux_slave.c b/src/demuxers/demux_slave.c
index 772e0cf71..306b14ed4 100644
--- a/src/demuxers/demux_slave.c
+++ b/src/demuxers/demux_slave.c
@@ -21,7 +21,7 @@
*/
/*
- * $Id: demux_slave.c,v 1.20 2006/06/02 22:18:57 dsalt Exp $
+ * $Id: demux_slave.c,v 1.21 2006/07/10 22:08:13 dgp85 Exp $
*
* demuxer for slave "protocol"
* master xine must be started with XINE_PARAM_BROADCASTER_PORT set, that is,
@@ -437,7 +437,7 @@ static const demuxer_info_t demux_info_slave = {
10 /* priority */
};
-const plugin_info_t xine_plugin_info[] = {
+const plugin_info_t xine_plugin_info[] EXPORTED = {
/* type, API, "name", version, special_info, init_function */
{ PLUGIN_DEMUX, 26, "slave", XINE_VERSION_CODE, &demux_info_slave, init_plugin },
{ PLUGIN_NONE, 0, "", 0, NULL, NULL }
diff --git a/src/demuxers/demux_ts.c b/src/demuxers/demux_ts.c
index e9a45d75d..3191ee6b9 100644
--- a/src/demuxers/demux_ts.c
+++ b/src/demuxers/demux_ts.c
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: demux_ts.c,v 1.121 2006/06/28 20:20:54 dsalt Exp $
+ * $Id: demux_ts.c,v 1.122 2006/07/10 22:08:13 dgp85 Exp $
*
* Demultiplexer for MPEG2 Transport Streams.
*
@@ -2204,7 +2204,7 @@ static const demuxer_info_t demux_info_ts = {
10 /* priority */
};
-const plugin_info_t xine_plugin_info[] = {
+const plugin_info_t xine_plugin_info[] EXPORTED = {
/* type, API, "name", version, special_info, init_function */
{ PLUGIN_DEMUX, 26, "mpeg-ts", XINE_VERSION_CODE, &demux_info_ts, init_class },
{ PLUGIN_NONE, 0, "", 0, NULL, NULL }
diff --git a/src/demuxers/demux_yuv4mpeg2.c b/src/demuxers/demux_yuv4mpeg2.c
index d3ee7415d..126370453 100644
--- a/src/demuxers/demux_yuv4mpeg2.c
+++ b/src/demuxers/demux_yuv4mpeg2.c
@@ -24,7 +24,7 @@
* tools, visit:
* http://mjpeg.sourceforge.net/
*
- * $Id: demux_yuv4mpeg2.c,v 1.42 2006/06/02 22:18:57 dsalt Exp $
+ * $Id: demux_yuv4mpeg2.c,v 1.43 2006/07/10 22:08:13 dgp85 Exp $
*/
#ifdef HAVE_CONFIG_H
@@ -498,7 +498,7 @@ static const demuxer_info_t demux_info_yuv4mpeg2 = {
10 /* priority */
};
-const plugin_info_t xine_plugin_info[] = {
+const plugin_info_t xine_plugin_info[] EXPORTED = {
/* type, API, "name", version, special_info, init_function */
{ PLUGIN_DEMUX, 26, "yuv4mpeg2", XINE_VERSION_CODE, &demux_info_yuv4mpeg2, init_plugin },
{ PLUGIN_NONE, 0, "", 0, NULL, NULL }
diff --git a/src/demuxers/demux_yuv_frames.c b/src/demuxers/demux_yuv_frames.c
index 0b5f2901d..06115a4d3 100644
--- a/src/demuxers/demux_yuv_frames.c
+++ b/src/demuxers/demux_yuv_frames.c
@@ -20,7 +20,7 @@
*/
/*
- * $Id: demux_yuv_frames.c,v 1.21 2006/06/02 22:18:57 dsalt Exp $
+ * $Id: demux_yuv_frames.c,v 1.22 2006/07/10 22:08:13 dgp85 Exp $
*
* dummy demultiplexer for raw yuv frames (delivered by v4l)
*/
@@ -276,7 +276,7 @@ static const demuxer_info_t demux_info_yuv_frames = {
0 /* priority */
};
-const plugin_info_t xine_plugin_info[] = {
+const plugin_info_t xine_plugin_info[] EXPORTED = {
/* type, API, "name", version, special_info, init_function */
{ PLUGIN_DEMUX, 26, "yuv_frames", XINE_VERSION_CODE, &demux_info_yuv_frames, init_class },
{ PLUGIN_NONE, 0, "", 0, NULL, NULL }
diff --git a/src/demuxers/group_audio.c b/src/demuxers/group_audio.c
index 0b7eca8cd..7139ee5b9 100644
--- a/src/demuxers/group_audio.c
+++ b/src/demuxers/group_audio.c
@@ -19,7 +19,7 @@
*
* This file contains plugin entries for several demuxers used in games
*
- * $Id: group_audio.c,v 1.23 2006/06/02 22:18:57 dsalt Exp $
+ * $Id: group_audio.c,v 1.24 2006/07/10 22:08:13 dgp85 Exp $
*/
#ifdef HAVE_CONFIG_H
@@ -105,7 +105,7 @@ static const demuxer_info_t demux_info_mod = {
};
#endif
-const plugin_info_t xine_plugin_info[] = {
+const plugin_info_t xine_plugin_info[] EXPORTED = {
/* type, API, "name", version, special_info, init_function */
{ PLUGIN_DEMUX, 26, "aac", XINE_VERSION_CODE, &demux_info_aac, demux_aac_init_plugin },
{ PLUGIN_DEMUX, 26, "ac3", XINE_VERSION_CODE, &demux_info_ac3, demux_ac3_init_plugin },
diff --git a/src/demuxers/group_games.c b/src/demuxers/group_games.c
index cb33f33b3..52e39db85 100644
--- a/src/demuxers/group_games.c
+++ b/src/demuxers/group_games.c
@@ -19,7 +19,7 @@
*
* This file contains plugin entries for several demuxers used in games
*
- * $Id: group_games.c,v 1.14 2006/06/02 22:18:57 dsalt Exp $
+ * $Id: group_games.c,v 1.15 2006/07/10 22:08:13 dgp85 Exp $
*/
#ifdef HAVE_CONFIG_H
@@ -79,7 +79,7 @@ static const demuxer_info_t demux_info_vmd = {
10 /* priority */
};
-const plugin_info_t xine_plugin_info[] = {
+const plugin_info_t xine_plugin_info[] EXPORTED = {
/* type, API, "name", version, special_info, init_function */
{ PLUGIN_DEMUX, 26, "wve", XINE_VERSION_CODE, &demux_info_eawve, demux_eawve_init_plugin},
{ PLUGIN_DEMUX, 26, "idcin", XINE_VERSION_CODE, &demux_info_idcin, demux_idcin_init_plugin },
diff --git a/src/dxr3/Makefile.am b/src/dxr3/Makefile.am
index b93cb3a62..f364a375e 100644
--- a/src/dxr3/Makefile.am
+++ b/src/dxr3/Makefile.am
@@ -23,6 +23,7 @@ lib_LTLIBRARIES = $(dxr3_modules)
xineplug_decode_dxr3_video_la_SOURCES = dxr3_decode_video.c
xineplug_decode_dxr3_video_la_LIBADD = $(XINE_LIB)
+xineplug_decode_dxr3_video_la_CFLAGS = $(VISIBILITY_FLAG) $(AM_CFLAGS)
xineplug_decode_dxr3_video_la_LDFLAGS = -avoid-version -module
if HAVE_DVDNAV
@@ -34,6 +35,7 @@ AM_CPPFLAGS = -I$(top_srcdir)/src/input/libdvdnav
xineplug_decode_dxr3_spu_la_SOURCES = dxr3_decode_spu.c nav_read.c
xineplug_decode_dxr3_spu_la_LIBADD = $(XINE_LIB)
endif
+xineplug_decode_dxr3_spu_la_CFLAGS = $(VISIBILITY_FLAG) $(AM_CFLAGS)
xineplug_decode_dxr3_spu_la_LDFLAGS = -avoid-version -module
xineplug_vo_out_dxr3_la_SOURCES = \
@@ -43,6 +45,7 @@ xineplug_vo_out_dxr3_la_SOURCES = \
video_out_dxr3.c
xineplug_vo_out_dxr3_la_LIBADD = $(link_fame) $(link_rte) $(link_x_libs) $(XINE_LIB)
+xineplug_vo_out_dxr3_la_CFLAGS = $(VISIBILITY_FLAG) $(AM_CFLAGS)
xineplug_vo_out_dxr3_la_LDFLAGS = -avoid-version -module
noinst_HEADERS = \
diff --git a/src/dxr3/dxr3_decode_spu.c b/src/dxr3/dxr3_decode_spu.c
index c29bf6789..f8fb5264d 100644
--- a/src/dxr3/dxr3_decode_spu.c
+++ b/src/dxr3/dxr3_decode_spu.c
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: dxr3_decode_spu.c,v 1.55 2006/06/18 20:29:04 dgp85 Exp $
+ * $Id: dxr3_decode_spu.c,v 1.56 2006/07/10 22:08:13 dgp85 Exp $
*/
/* dxr3 spu decoder plugin.
@@ -73,7 +73,7 @@ static const decoder_info_t dxr3_spudec_info = {
10 /* priority */
};
-const plugin_info_t xine_plugin_info[] = {
+const plugin_info_t xine_plugin_info[] EXPORTED = {
/* type, API, "name", version, special_info, init_function */
{ PLUGIN_SPU_DECODER, 16, "dxr3-spudec", XINE_VERSION_CODE, &dxr3_spudec_info, &dxr3_spudec_init_plugin },
{ PLUGIN_NONE, 0, "", 0, NULL, NULL }
diff --git a/src/dxr3/dxr3_decode_video.c b/src/dxr3/dxr3_decode_video.c
index c2237dff5..816787dc0 100644
--- a/src/dxr3/dxr3_decode_video.c
+++ b/src/dxr3/dxr3_decode_video.c
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: dxr3_decode_video.c,v 1.63 2006/06/18 20:29:04 dgp85 Exp $
+ * $Id: dxr3_decode_video.c,v 1.64 2006/07/10 22:08:13 dgp85 Exp $
*/
/* dxr3 video decoder plugin.
@@ -74,7 +74,7 @@ static const decoder_info_t dxr3_video_decoder_info = {
10 /* priority */
};
-const plugin_info_t xine_plugin_info[] = {
+const plugin_info_t xine_plugin_info[] EXPORTED = {
/* type, API, "name", version, special_info, init_function */
{ PLUGIN_VIDEO_DECODER, 18, "dxr3-mpeg2", XINE_VERSION_CODE, &dxr3_video_decoder_info, &dxr3_init_plugin },
{ PLUGIN_NONE, 0, "", 0, NULL, NULL }
diff --git a/src/input/Makefile.am b/src/input/Makefile.am
index 64b7b4920..1b651f1f5 100644
--- a/src/input/Makefile.am
+++ b/src/input/Makefile.am
@@ -73,67 +73,83 @@ lib_LTLIBRARIES = \
xineplug_inp_file_la_SOURCES = input_file.c
xineplug_inp_file_la_LIBADD = $(XINE_LIB)
-xineplug_inp_file_la_LDFLAGS = -avoid-version -module @XINE_PLUGIN_MIN_SYMS@
+xineplug_inp_file_la_CFLAGS = $(VISIBILITY_FLAG) $(AM_CFLAGS)
+xineplug_inp_file_la_LDFLAGS = -avoid-version -module
xineplug_inp_dvd_la_SOURCES = input_dvd.c media_helper.c
xineplug_inp_dvd_la_LIBADD = $(XINE_LIB) $(link_dvdnav) $(THREAD_LIBS)
-xineplug_inp_dvd_la_LDFLAGS = -avoid-version -module @XINE_PLUGIN_MIN_SYMS@
+xineplug_inp_dvd_la_CFLAGS = $(VISIBILITY_FLAG) $(AM_CFLAGS)
+xineplug_inp_dvd_la_LDFLAGS = -avoid-version -module
xineplug_inp_net_la_SOURCES = input_net.c net_buf_ctrl.c
xineplug_inp_net_la_LIBADD = $(XINE_LIB) $(THREAD_LIBS)
-xineplug_inp_net_la_LDFLAGS = -avoid-version -module @XINE_PLUGIN_MIN_SYMS@
+xineplug_inp_net_la_CFLAGS = $(VISIBILITY_FLAG) $(AM_CFLAGS)
+xineplug_inp_net_la_LDFLAGS = -avoid-version -module
xineplug_inp_mms_la_SOURCES = input_mms.c net_buf_ctrl.c mms.c mmsh.c http_helper.c
xineplug_inp_mms_la_LIBADD = $(XINE_LIB) @LIBICONV@ $(THREAD_LIBS)
-xineplug_inp_mms_la_LDFLAGS = -avoid-version -module @XINE_PLUGIN_MIN_SYMS@
+xineplug_inp_mms_la_CFLAGS = $(VISIBILITY_FLAG) $(AM_CFLAGS)
+xineplug_inp_mms_la_LDFLAGS = -avoid-version -module
xineplug_inp_vcdo_la_SOURCES = input_vcd.c media_helper.c
xineplug_inp_vcdo_la_LIBADD = $(XINE_LIB)
-xineplug_inp_vcdo_la_LDFLAGS = -avoid-version -module @XINE_PLUGIN_MIN_SYMS@
+xineplug_inp_vcdo_la_CFLAGS = $(VISIBILITY_FLAG) $(AM_CFLAGS)
+xineplug_inp_vcdo_la_LDFLAGS = -avoid-version -module
xineplug_inp_stdin_fifo_la_SOURCES = input_stdin_fifo.c net_buf_ctrl.c
xineplug_inp_stdin_fifo_la_LIBADD = $(XINE_LIB) $(THREAD_LIBS)
-xineplug_inp_stdin_fifo_la_LDFLAGS = -avoid-version -module @XINE_PLUGIN_MIN_SYMS@
+xineplug_inp_stdin_fifo_la_CFLAGS = $(VISIBILITY_FLAG) $(AM_CFLAGS)
+xineplug_inp_stdin_fifo_la_LDFLAGS = -avoid-version -module
xineplug_inp_rtp_la_SOURCES = input_rtp.c net_buf_ctrl.c
xineplug_inp_rtp_la_LIBADD = $(XINE_LIB) $(THREAD_LIBS)
-xineplug_inp_rtp_la_LDFLAGS = -avoid-version -module @XINE_PLUGIN_MIN_SYMS@
+xineplug_inp_rtp_la_CFLAGS = $(VISIBILITY_FLAG) $(AM_CFLAGS)
+xineplug_inp_rtp_la_LDFLAGS = -avoid-version -module
xineplug_inp_http_la_SOURCES = input_http.c net_buf_ctrl.c http_helper.c
xineplug_inp_http_la_LIBADD = $(XINE_LIB) $(THREAD_LIBS)
-xineplug_inp_http_la_LDFLAGS = -avoid-version -module @XINE_PLUGIN_MIN_SYMS@
+xineplug_inp_http_la_CFLAGS = $(VISIBILITY_FLAG) $(AM_CFLAGS)
+xineplug_inp_http_la_LDFLAGS = -avoid-version -module
xineplug_inp_pnm_la_SOURCES = input_pnm.c net_buf_ctrl.c pnm.c
xineplug_inp_pnm_la_LIBADD = $(XINE_LIB) $(THREAD_LIBS)
-xineplug_inp_pnm_la_LDFLAGS = -avoid-version -module @XINE_PLUGIN_MIN_SYMS@
+xineplug_inp_pnm_la_CFLAGS = $(VISIBILITY_FLAG) $(AM_CFLAGS)
+xineplug_inp_pnm_la_LDFLAGS = -avoid-version -module
xineplug_inp_dvb_la_SOURCES = input_dvb.c net_buf_ctrl.c
xineplug_inp_dvb_la_LIBADD = $(XINE_LIB) $(THREAD_LIBS)
-xineplug_inp_dvb_la_LDFLAGS = -avoid-version -module @XINE_PLUGIN_MIN_SYMS@
+xineplug_inp_dvb_la_CFLAGS = $(VISIBILITY_FLAG) $(AM_CFLAGS)
+xineplug_inp_dvb_la_LDFLAGS = -avoid-version -module
xineplug_inp_rtsp_la_SOURCES = input_rtsp.c net_buf_ctrl.c
xineplug_inp_rtsp_la_LIBADD = $(XINE_LIB) $(THREAD_LIBS) libreal/libreal.la librtsp/librtsp.la
-xineplug_inp_rtsp_la_LDFLAGS = -avoid-version -module @XINE_PLUGIN_MIN_SYMS@
+xineplug_inp_rtsp_la_CFLAGS = $(VISIBILITY_FLAG) $(AM_CFLAGS)
+xineplug_inp_rtsp_la_LDFLAGS = -avoid-version -module
xineplug_inp_cdda_la_SOURCES = input_cdda.c media_helper.c sha1.c sha1.h base64.c base64.h
xineplug_inp_cdda_la_LIBADD = $(XINE_LIB)
-xineplug_inp_cdda_la_LDFLAGS = -avoid-version -module @XINE_PLUGIN_MIN_SYMS@
+xineplug_inp_cdda_la_CFLAGS = $(VISIBILITY_FLAG) $(AM_CFLAGS)
+xineplug_inp_cdda_la_LDFLAGS = -avoid-version -module
xineplug_inp_v4l_la_SOURCES = input_v4l.c
xineplug_inp_v4l_la_LIBADD = $(ALSA_LIBS) $(XINE_LIB)
-xineplug_inp_v4l_la_LDFLAGS = -avoid-version -module @XINE_PLUGIN_MIN_SYMS@
+xineplug_inp_v4l_la_CFLAGS = $(VISIBILITY_FLAG) $(AM_CFLAGS)
+xineplug_inp_v4l_la_LDFLAGS = -avoid-version -module
xineplug_inp_gnome_vfs_la_SOURCES = input_gnome_vfs.c net_buf_ctrl.c
xineplug_inp_gnome_vfs_la_LIBADD = $(GNOME_VFS_LIBS) $(XINE_LIB) $(THREAD_LIBS)
-xineplug_inp_gnome_vfs_la_LDFLAGS = -avoid-version -module @XINE_PLUGIN_MIN_SYMS@
+xineplug_inp_gnome_la_CFLAGS = $(VISIBILITY_FLAG) $(AM_CFLAGS)
+xineplug_inp_gnome_vfs_la_LDFLAGS = -avoid-version -module
xineplug_inp_smb_la_SOURCES = input_smb.c
xineplug_inp_smb_la_LIBADD = $(LIBSMBCLIENT_LIBS) $(XINE_LIB)
-xineplug_inp_smb_la_LDFLAGS = -avoid-version -module @XINE_PLUGIN_MIN_SYMS@
+xineplug_inp_smb_la_CFLAGS = $(VISIBILITY_FLAG) $(AM_CFLAGS)
+xineplug_inp_smb_la_LDFLAGS = -avoid-version -module
xineplug_inp_pvr_la_SOURCES = input_pvr.c
xineplug_inp_pvr_la_LIBADD = $(XINE_LIB)
-xineplug_inp_pvr_la_LDFLAGS = -avoid-version -module @XINE_PLUGIN_MIN_SYMS@
+xineplug_inp_pvr_la_CFLAGS = $(VISIBILITY_FLAG) $(AM_CFLAGS)
+xineplug_inp_pvr_la_LDFLAGS = -avoid-version -module
include_HEADERS = input_plugin.h
noinst_HEADERS = net_buf_ctrl.h mms.h mmsh.h pnm.h media_helper.h videodev2.h http_helper.h
diff --git a/src/input/input_cdda.c b/src/input/input_cdda.c
index 70642f192..480759de9 100644
--- a/src/input/input_cdda.c
+++ b/src/input/input_cdda.c
@@ -20,7 +20,7 @@
* Compact Disc Digital Audio (CDDA) Input Plugin
* by Mike Melanson (melanson@pcisys.net)
*
- * $Id: input_cdda.c,v 1.88 2006/07/08 14:08:48 dsalt Exp $
+ * $Id: input_cdda.c,v 1.89 2006/07/10 22:08:14 dgp85 Exp $
*/
#ifdef HAVE_CONFIG_H
@@ -2725,7 +2725,7 @@ static void *init_plugin (xine_t *xine, void *data) {
return this;
}
-const plugin_info_t xine_plugin_info[] = {
+const plugin_info_t xine_plugin_info[] EXPORTED = {
/* type, API, "name", version, special_info, init_function */
{ PLUGIN_INPUT | PLUGIN_MUST_PRELOAD, 17, "CD", XINE_VERSION_CODE, NULL, init_plugin },
{ PLUGIN_NONE, 0, "", 0, NULL, NULL }
diff --git a/src/input/input_dvb.c b/src/input/input_dvb.c
index 56c8e6cd4..28d10caaf 100644
--- a/src/input/input_dvb.c
+++ b/src/input/input_dvb.c
@@ -3265,7 +3265,7 @@ static void *init_class (xine_t *xine, void *data) {
* exported plugin catalog entry
*/
-const plugin_info_t xine_plugin_info[] = {
+const plugin_info_t xine_plugin_info[] EXPORTED = {
/* type, API, "name", version, special_info, init_function */
{ PLUGIN_INPUT | PLUGIN_MUST_PRELOAD, 17, "DVB", XINE_VERSION_CODE, NULL, init_class },
{ PLUGIN_NONE, 0, "", 0, NULL, NULL }
diff --git a/src/input/input_dvd.c b/src/input/input_dvd.c
index 57f6b2b06..eaf60f473 100644
--- a/src/input/input_dvd.c
+++ b/src/input/input_dvd.c
@@ -18,7 +18,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: input_dvd.c,v 1.207 2006/05/03 19:46:07 dsalt Exp $
+ * $Id: input_dvd.c,v 1.208 2006/07/10 22:08:15 dgp85 Exp $
*
*/
@@ -1906,7 +1906,7 @@ static void *init_class (xine_t *xine, void *data) {
}
-const plugin_info_t xine_plugin_info[] = {
+const plugin_info_t xine_plugin_info[] EXPORTED = {
/* type, API, "name", version, special_info, init_function */
{ PLUGIN_INPUT | PLUGIN_MUST_PRELOAD, 17, "DVD", XINE_VERSION_CODE, NULL, init_class },
{ PLUGIN_NONE, 0, "", 0, NULL, NULL }
diff --git a/src/input/input_file.c b/src/input/input_file.c
index c22341552..eeee8c5f4 100644
--- a/src/input/input_file.c
+++ b/src/input/input_file.c
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: input_file.c,v 1.109 2006/05/03 19:46:07 dsalt Exp $
+ * $Id: input_file.c,v 1.110 2006/07/10 22:08:15 dgp85 Exp $
*/
#ifdef HAVE_CONFIG_H
@@ -913,7 +913,7 @@ static void *init_plugin (xine_t *xine, void *data) {
* exported plugin catalog entry
*/
-const plugin_info_t xine_plugin_info[] = {
+const plugin_info_t xine_plugin_info[] EXPORTED = {
/* type, API, "name", version, special_info, init_function */
{ PLUGIN_INPUT | PLUGIN_MUST_PRELOAD, 17, "FILE", XINE_VERSION_CODE, NULL, init_plugin },
{ PLUGIN_NONE, 0, "", 0, NULL, NULL }
diff --git a/src/input/input_gnome_vfs.c b/src/input/input_gnome_vfs.c
index dfe0df8e0..564ce2325 100644
--- a/src/input/input_gnome_vfs.c
+++ b/src/input/input_gnome_vfs.c
@@ -18,7 +18,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: input_gnome_vfs.c,v 1.30 2006/05/03 19:46:07 dsalt Exp $
+ * $Id: input_gnome_vfs.c,v 1.31 2006/07/10 22:08:15 dgp85 Exp $
*/
@@ -389,7 +389,7 @@ static input_info_t input_info_gnomevfs = {
100 /* priority */
};
-const plugin_info_t xine_plugin_info[] = {
+const plugin_info_t xine_plugin_info[] EXPORTED = {
{ PLUGIN_INPUT | PLUGIN_NO_UNLOAD, 17, "gnomevfs", XINE_VERSION_CODE,
&input_info_gnomevfs, init_input_class },
{ PLUGIN_NONE, 0, "", 0, NULL, NULL }
diff --git a/src/input/input_http.c b/src/input/input_http.c
index 24b7df78c..874cb891c 100644
--- a/src/input/input_http.c
+++ b/src/input/input_http.c
@@ -19,7 +19,7 @@
*
* input plugin for http network streams
*
- * $Id: input_http.c,v 1.119 2006/06/20 01:46:41 dgp85 Exp $
+ * $Id: input_http.c,v 1.120 2006/07/10 22:08:15 dgp85 Exp $
*/
#ifdef HAVE_CONFIG_H
@@ -1076,7 +1076,7 @@ static void *init_class (xine_t *xine, void *data) {
* exported plugin catalog entry
*/
-const plugin_info_t xine_plugin_info[] = {
+const plugin_info_t xine_plugin_info[] EXPORTED = {
/* type, API, "name", version, special_info, init_function */
{ PLUGIN_INPUT | PLUGIN_MUST_PRELOAD, 17, "http", XINE_VERSION_CODE, NULL, init_class },
{ PLUGIN_NONE, 0, "", 0, NULL, NULL }
diff --git a/src/input/input_mms.c b/src/input/input_mms.c
index e6aa63312..e2939428d 100644
--- a/src/input/input_mms.c
+++ b/src/input/input_mms.c
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: input_mms.c,v 1.62 2006/06/20 01:46:41 dgp85 Exp $
+ * $Id: input_mms.c,v 1.63 2006/07/10 22:08:15 dgp85 Exp $
*
* mms input plugin based on work from major mms
*/
@@ -473,7 +473,7 @@ static void *init_class (xine_t *xine, void *data) {
* exported plugin catalog entry
*/
-const plugin_info_t xine_plugin_info[] = {
+const plugin_info_t xine_plugin_info[] EXPORTED = {
/* type, API, "name", version, special_info, init_function */
{ PLUGIN_INPUT | PLUGIN_MUST_PRELOAD, 17, "mms", XINE_VERSION_CODE, NULL, init_class },
{ PLUGIN_NONE, 0, "", 0, NULL, NULL }
diff --git a/src/input/input_net.c b/src/input/input_net.c
index b06160fed..19326c301 100644
--- a/src/input/input_net.c
+++ b/src/input/input_net.c
@@ -20,7 +20,7 @@
* Read from a tcp network stream over a lan (put a tweaked mp1e encoder the
* other end and you can watch tv anywhere in the house ..)
*
- * $Id: input_net.c,v 1.67 2006/06/20 01:46:41 dgp85 Exp $
+ * $Id: input_net.c,v 1.68 2006/07/10 22:08:15 dgp85 Exp $
*
* how to set up mp1e for use with this plugin:
*
@@ -543,7 +543,7 @@ static void *init_class (xine_t *xine, void *data) {
* exported plugin catalog entry
*/
-const plugin_info_t xine_plugin_info[] = {
+const plugin_info_t xine_plugin_info[] EXPORTED = {
/* type, API, "name", version, special_info, init_function */
{ PLUGIN_INPUT, 17, "tcp", XINE_VERSION_CODE, NULL, init_class },
{ PLUGIN_NONE, 0, "", 0, NULL, NULL }
diff --git a/src/input/input_pnm.c b/src/input/input_pnm.c
index cbf23c076..26fdd350e 100644
--- a/src/input/input_pnm.c
+++ b/src/input/input_pnm.c
@@ -295,7 +295,7 @@ static void *init_class (xine_t *xine, void *data) {
* exported plugin catalog entry
*/
-const plugin_info_t xine_plugin_info[] = {
+const plugin_info_t xine_plugin_info[] EXPORTED = {
/* type, API, "name", version, special_info, init_function */
{ PLUGIN_INPUT, 17, "pnm", XINE_VERSION_CODE, NULL, init_class },
{ PLUGIN_NONE, 0, "", 0, NULL, NULL }
diff --git a/src/input/input_pvr.c b/src/input/input_pvr.c
index 843e7c3e6..1461d0f9e 100644
--- a/src/input/input_pvr.c
+++ b/src/input/input_pvr.c
@@ -38,7 +38,7 @@
* usage:
* xine pvr:/<prefix_to_tmp_files>\!<prefix_to_saved_files>\!<max_page_age>
*
- * $Id: input_pvr.c,v 1.61 2006/06/20 01:46:41 dgp85 Exp $
+ * $Id: input_pvr.c,v 1.62 2006/07/10 22:08:15 dgp85 Exp $
*/
/**************************************************************************
@@ -1571,7 +1571,7 @@ static void *init_plugin (xine_t *xine, void *data) {
* exported plugin catalog entry
*/
-const plugin_info_t xine_plugin_info[] = {
+const plugin_info_t xine_plugin_info[] EXPORTED = {
/* type, API, "name", version, special_info, init_function */
{ PLUGIN_INPUT | PLUGIN_MUST_PRELOAD, 17, "pvr", XINE_VERSION_CODE, NULL, init_plugin },
{ PLUGIN_NONE, 0, "", 0, NULL, NULL }
diff --git a/src/input/input_rtp.c b/src/input/input_rtp.c
index c391c4035..b23ecb895 100644
--- a/src/input/input_rtp.c
+++ b/src/input/input_rtp.c
@@ -777,7 +777,7 @@ static void *init_class (xine_t *xine, void *data) {
* exported plugin catalog entry
*/
-const plugin_info_t xine_plugin_info[] = {
+const plugin_info_t xine_plugin_info[] EXPORTED = {
/* type, API, "name", version, special_info, init_function */
{ PLUGIN_INPUT, 17, "rtp", XINE_VERSION_CODE, NULL, init_class },
{ PLUGIN_NONE, 0, "", 0, NULL, NULL }
diff --git a/src/input/input_rtsp.c b/src/input/input_rtsp.c
index f78762bcb..0256edc8d 100644
--- a/src/input/input_rtsp.c
+++ b/src/input/input_rtsp.c
@@ -307,7 +307,7 @@ static void *init_class (xine_t *xine, void *data) {
* exported plugin catalog entry
*/
-const plugin_info_t xine_plugin_info[] = {
+const plugin_info_t xine_plugin_info[] EXPORTED = {
/* type, API, "name", version, special_info, init_function */
{ PLUGIN_INPUT, 17, "rtsp", XINE_VERSION_CODE, NULL, init_class },
{ PLUGIN_NONE, 0, "", 0, NULL, NULL }
diff --git a/src/input/input_smb.c b/src/input/input_smb.c
index cbd4d34cd..21b45fa73 100644
--- a/src/input/input_smb.c
+++ b/src/input/input_smb.c
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: input_smb.c,v 1.14 2006/06/20 01:46:41 dgp85 Exp $
+ * $Id: input_smb.c,v 1.15 2006/07/10 22:08:16 dgp85 Exp $
*/
@@ -537,7 +537,7 @@ static const input_info_t input_info_smb = {
0 /* priority */
};
-const plugin_info_t xine_plugin_info[] = {
+const plugin_info_t xine_plugin_info[] EXPORTED = {
{ PLUGIN_INPUT, 17, "smb", XINE_VERSION_CODE, &input_info_smb,
init_input_class },
{ PLUGIN_NONE, 0, "", 0, NULL, NULL }
diff --git a/src/input/input_stdin_fifo.c b/src/input/input_stdin_fifo.c
index 4b0dd66a6..3780a1cef 100644
--- a/src/input/input_stdin_fifo.c
+++ b/src/input/input_stdin_fifo.c
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: input_stdin_fifo.c,v 1.66 2006/06/20 01:46:41 dgp85 Exp $
+ * $Id: input_stdin_fifo.c,v 1.67 2006/07/10 22:08:16 dgp85 Exp $
*/
#ifdef HAVE_CONFIG_H
@@ -383,7 +383,7 @@ static void *init_class (xine_t *xine, void *data) {
* exported plugin catalog entry
*/
-const plugin_info_t xine_plugin_info[] = {
+const plugin_info_t xine_plugin_info[] EXPORTED = {
/* type, API, "name", version, special_info, init_function */
{ PLUGIN_INPUT, 17, "stdin", XINE_VERSION_CODE, NULL, init_class },
{ PLUGIN_NONE, 0, "", 0, NULL, NULL }
diff --git a/src/input/input_v4l.c b/src/input/input_v4l.c
index 6ca50ac87..1dfde167f 100644
--- a/src/input/input_v4l.c
+++ b/src/input/input_v4l.c
@@ -1946,7 +1946,7 @@ static void *init_radio_class (xine_t *xine, void *data)
* exported plugin catalog entry
*/
-const plugin_info_t xine_plugin_info[] = {
+const plugin_info_t xine_plugin_info[] EXPORTED = {
/* type, API, "name", version, special_info, init_function */
{ PLUGIN_INPUT | PLUGIN_MUST_PRELOAD, 17, "v4l_radio", XINE_VERSION_CODE, NULL, init_radio_class },
{ PLUGIN_INPUT | PLUGIN_MUST_PRELOAD, 17, "v4l_tv", XINE_VERSION_CODE, NULL, init_video_class },
diff --git a/src/input/input_vcd.c b/src/input/input_vcd.c
index df908b2ae..0103027bf 100644
--- a/src/input/input_vcd.c
+++ b/src/input/input_vcd.c
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: input_vcd.c,v 1.84 2006/05/03 19:46:07 dsalt Exp $
+ * $Id: input_vcd.c,v 1.85 2006/07/10 22:08:16 dgp85 Exp $
*
*/
@@ -1114,7 +1114,7 @@ static void *init_class (xine_t *xine, void *data) {
* exported plugin catalog entry
*/
-const plugin_info_t xine_plugin_info[] = {
+const plugin_info_t xine_plugin_info[] EXPORTED = {
/* type, API, "name", version, special_info, init_function */
{ PLUGIN_INPUT | PLUGIN_MUST_PRELOAD, 17, "VCDO", XINE_VERSION_CODE, NULL, init_class },
{ PLUGIN_NONE, 0, "", 0, NULL, NULL }
diff --git a/src/input/libdvdnav/Makefile.am b/src/input/libdvdnav/Makefile.am
index 070a16f28..2aadb3588 100644
--- a/src/input/libdvdnav/Makefile.am
+++ b/src/input/libdvdnav/Makefile.am
@@ -23,6 +23,7 @@ libdvdnav_la_SOURCES = \
dvd_input.c \
dvd_udf.c
libdvdnav_la_LIBADD = $(THREAD_LIBS)
+libdvdnav_la_CFLAGS = $(VISIBILITY_FLAG)
libdvdnav_la_LDFLAGS = -avoid-version -module
noinst_HEADERS = \
diff --git a/src/input/libreal/Makefile.am b/src/input/libreal/Makefile.am
index 57928e26c..5b10d1bca 100644
--- a/src/input/libreal/Makefile.am
+++ b/src/input/libreal/Makefile.am
@@ -10,7 +10,7 @@ libreal_la_SOURCES = \
rmff.c \
sdpplin.c
-libreal_la_LDFLAGS = -avoid-version -module
+libreal_la_CFLAGS = $(VISIBILITY_FLAG)
noinst_HEADERS = \
real.h \
diff --git a/src/input/librtsp/Makefile.am b/src/input/librtsp/Makefile.am
index 2207482b6..bb85f9cf4 100644
--- a/src/input/librtsp/Makefile.am
+++ b/src/input/librtsp/Makefile.am
@@ -8,6 +8,7 @@ librtsp_la_SOURCES = \
rtsp.c \
rtsp_session.c
+librtsp_la_CFLAGS = $(VISIBILITY_FLAG)
librtsp_la_LDFLAGS = -avoid-version -module
noinst_HEADERS = \
diff --git a/src/input/vcd/xineplug_inp_vcd.c b/src/input/vcd/xineplug_inp_vcd.c
index 3c83a8c3e..baa6b0d9a 100644
--- a/src/input/vcd/xineplug_inp_vcd.c
+++ b/src/input/vcd/xineplug_inp_vcd.c
@@ -1,5 +1,5 @@
/*
- $Id: xineplug_inp_vcd.c,v 1.49 2006/06/20 01:07:58 dgp85 Exp $
+ $Id: xineplug_inp_vcd.c,v 1.50 2006/07/10 22:08:29 dgp85 Exp $
Copyright (C) 2002, 2003, 2004, 2005 Rocky Bernstein <rocky@panix.com>
@@ -1990,7 +1990,7 @@ _("For tracking down bugs in the VCD plugin. Mask values are:\n"
the next API number since in both cases the plugin is broken.
*/
-const plugin_info_t xine_plugin_info[] = {
+const plugin_info_t xine_plugin_info[] EXPORTED = {
/* type, API, "name", version, special_info, init_function */
{ PLUGIN_INPUT | PLUGIN_MUST_PRELOAD, 17, (char *) SHORT_PLUGIN_NAME,
XINE_VERSION_CODE, NULL, vcd_init },
diff --git a/src/liba52/Makefile.am b/src/liba52/Makefile.am
index cf1d7d4e7..40532479f 100644
--- a/src/liba52/Makefile.am
+++ b/src/liba52/Makefile.am
@@ -29,7 +29,8 @@ else
xineplug_decode_a52_la_LIBADD = $(XINE_LIB)
endif
-xineplug_decode_a52_la_LDFLAGS = -avoid-version -module @XINE_PLUGIN_MIN_SYMS@
+xineplug_decode_a52_la_CFLAGS = $(VISIBILITY_FLAG)
+xineplug_decode_a52_la_LDFLAGS = -avoid-version -module
noinst_HEADERS = \
a52.h \
diff --git a/src/liba52/xine_decoder.c b/src/liba52/xine_decoder.c
index a2ab59a5d..9c770fbbc 100644
--- a/src/liba52/xine_decoder.c
+++ b/src/liba52/xine_decoder.c
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: xine_decoder.c,v 1.79 2006/06/02 22:18:57 dsalt Exp $
+ * $Id: xine_decoder.c,v 1.80 2006/07/10 22:08:29 dgp85 Exp $
*
* stuff needed to turn liba52 into a xine decoder plugin
*/
@@ -859,7 +859,7 @@ static const decoder_info_t dec_info_audio = {
5 /* priority */
};
-const plugin_info_t xine_plugin_info[] = {
+const plugin_info_t xine_plugin_info[] EXPORTED = {
/* type, API, "name", version, special_info, init_function */
{ PLUGIN_AUDIO_DECODER | PLUGIN_MUST_PRELOAD, 15, "a/52", XINE_VERSION_CODE, &dec_info_audio, init_plugin },
{ PLUGIN_NONE, 0, "", 0, NULL, NULL }
diff --git a/src/libdts/Makefile.am b/src/libdts/Makefile.am
index cb919c93a..c2d86e073 100644
--- a/src/libdts/Makefile.am
+++ b/src/libdts/Makefile.am
@@ -9,20 +9,21 @@ endif
lib_LTLIBRARIES = $(dts_module)
if EXTERNAL_LIBDTS
+fnsa =
internal_sources =
else
+fnsa = -fno-strict-aliasing
internal_sources = bitstream.c downmix.c parse.c
endif
xineplug_decode_dts_la_SOURCES = xine_decoder.c $(internal_sources)
-xineplug_decode_dts_la_LDFLAGS = -avoid-version -module $(XINE_PLUGIN_MIN_SYMS)
+xineplug_decode_dts_la_CFLAGS = $(LIBDTS_CFLAGS) $(VISIBILITY_FLAG) $(fnsa)
+xineplug_decode_dts_la_LDFLAGS = -avoid-version -module
if EXTERNAL_LIBDTS
xineplug_decode_dts_la_LIBADD = $(XINE_LIB) $(LIBDTS_LIBS)
-xineplug_decode_dts_la_CFLAGS = $(LIBDTS_CFLAGS)
else
xineplug_decode_dts_la_LIBADD = $(XINE_LIB)
-xineplug_decode_dts_la_CFLAGS = -fno-strict-aliasing
endif
noinst_HEADERS = bitstream.h dts.h dts_internal.h tables.h tables_adpcm.h \
diff --git a/src/libdts/xine_decoder.c b/src/libdts/xine_decoder.c
index 8bc95016d..a97ee1a9b 100644
--- a/src/libdts/xine_decoder.c
+++ b/src/libdts/xine_decoder.c
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: xine_decoder.c,v 1.65 2006/06/02 22:18:57 dsalt Exp $
+ * $Id: xine_decoder.c,v 1.66 2006/07/10 22:08:29 dgp85 Exp $
*
* 04-09-2001 DTS passtrough (C) Joachim Koenig
* 09-12-2001 DTS passthrough inprovements (C) James Courtier-Dutton
@@ -607,7 +607,7 @@ static const decoder_info_t dec_info_audio = {
1 /* priority */
};
-const plugin_info_t xine_plugin_info[] = {
+const plugin_info_t xine_plugin_info[] EXPORTED = {
/* type, API, "name", version, special_info, init_function */
{ PLUGIN_AUDIO_DECODER, 15, "dts", XINE_VERSION_CODE, &dec_info_audio, init_plugin },
{ PLUGIN_NONE, 0, "", 0, NULL, NULL }
diff --git a/src/libfaad/Makefile.am b/src/libfaad/Makefile.am
index 311f9f888..cef72a4ce 100644
--- a/src/libfaad/Makefile.am
+++ b/src/libfaad/Makefile.am
@@ -12,7 +12,7 @@ lib_LTLIBRARIES = $(faad_module)
VPATH = @srcdir@:@srcdir@/codebook:
-xineplug_decode_faad_la_CFLAGS = $(AM_CFLAGS) -fno-strict-aliasing
+xineplug_decode_faad_la_CFLAGS = $(VISIBILITY_FLAG) $(AM_CFLAGS) -fno-strict-aliasing
xineplug_decode_faad_la_SOURCES = \
bits.c \
cfft.c \
@@ -54,7 +54,7 @@ xineplug_decode_faad_la_SOURCES = \
tns.c \
xine_decoder.c
-xineplug_decode_faad_la_LDFLAGS = -avoid-version -module @XINE_PLUGIN_MIN_SYMS@
+xineplug_decode_faad_la_LDFLAGS = -avoid-version -module
xineplug_decode_faad_la_LIBADD = $(XINE_LIB)
noinst_HEADERS = \
diff --git a/src/libfaad/xine_decoder.c b/src/libfaad/xine_decoder.c
index da4b13cce..bf6e9183c 100644
--- a/src/libfaad/xine_decoder.c
+++ b/src/libfaad/xine_decoder.c
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: xine_decoder.c,v 1.47 2006/06/03 12:36:52 dsalt Exp $
+ * $Id: xine_decoder.c,v 1.48 2006/07/10 22:08:29 dgp85 Exp $
*
*/
@@ -478,7 +478,7 @@ static const decoder_info_t dec_info_audio = {
1 /* priority */
};
-const plugin_info_t xine_plugin_info[] = {
+const plugin_info_t xine_plugin_info[] EXPORTED = {
/* type, API, "name", version, special_info, init_function */
{ PLUGIN_AUDIO_DECODER, 15, "faad", XINE_VERSION_CODE, &dec_info_audio, init_plugin },
{ PLUGIN_NONE, 0, "", 0, NULL, NULL }
diff --git a/src/libffmpeg/Makefile.am b/src/libffmpeg/Makefile.am
index 50c9b183a..b6e1c2893 100644
--- a/src/libffmpeg/Makefile.am
+++ b/src/libffmpeg/Makefile.am
@@ -26,22 +26,19 @@ AM_CPPFLAGS = -I$(top_srcdir)/src/dxr3 $(X_CFLAGS) $(ff_cppflags) \
$(ZLIB_CPPFLAGS)
xineplug_decode_ff_la_SOURCES = xine_decoder.c audio_decoder.c video_decoder.c \
xine_encoder.c mpeg_parser.c
-# The dxr3 uses ffmpegs MPEG encoder by dlopen()ing the ffmpeg plugin and
-# dlsym()ing the necessary function. Therefore we must allow more exported
-# symbols and cannot use @XINE_PLUGIN_MIN_SYMS@
-xineplug_decode_ff_la_LDFLAGS = -avoid-version -module
else
AM_CPPFLAGS = $(ff_cppflags) $(ZLIB_CPPFLAGS)
xineplug_decode_ff_la_SOURCES = xine_decoder.c audio_decoder.c video_decoder.c \
mpeg_parser.c
-xineplug_decode_ff_la_LDFLAGS = -avoid-version -module @XINE_PLUGIN_MIN_SYMS@ \
- @IMPURE_TEXT_LDFLAGS@
endif
+xineplug_decode_ff_la_CFLAGS = $(VISIBILITY_FLAG)
+xineplug_decode_ff_la_LDFLAGS = -avoid-version -module @IMPURE_TEXT_LDFLAGS@
xineplug_decode_ff_la_LIBADD = $(MLIB_LIBS) $(XINE_LIB) -lm $(ZLIB_LIBS) \
$(link_ffmpeg) $(THREAD_LIBS)
-xineplug_decode_dvaudio_la_LDFLAGS = -avoid-version -module @XINE_PLUGIN_MIN_SYMS@
+xineplug_decode_dvaudio_la_CFLAGS = $(VISIBILITY_FLAG)
+xineplug_decode_dvaudio_la_LDFLAGS = -avoid-version -module
xineplug_decode_dvaudio_la_SOURCES = dvaudio_decoder.c
xineplug_decode_dvaudio_la_LIBADD = $(XINE_LIB)
diff --git a/src/libffmpeg/dvaudio_decoder.c b/src/libffmpeg/dvaudio_decoder.c
index 17a5638a8..663335aaa 100644
--- a/src/libffmpeg/dvaudio_decoder.c
+++ b/src/libffmpeg/dvaudio_decoder.c
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: dvaudio_decoder.c,v 1.10 2006/06/02 22:13:45 dsalt Exp $
+ * $Id: dvaudio_decoder.c,v 1.11 2006/07/10 22:08:29 dgp85 Exp $
*
* dv audio decoder based on patch by Dan Dennedy <dan@dennedy.org>
*
@@ -442,7 +442,7 @@ static const decoder_info_t dec_info_dvaudio = {
* exported plugin catalog entry
*/
-const plugin_info_t xine_plugin_info[] = {
+const plugin_info_t xine_plugin_info[] EXPORTED = {
/* type, API, "name", version, special_info, init_function */
{ PLUGIN_AUDIO_DECODER, 15, "dvaudio", XINE_VERSION_CODE, &dec_info_dvaudio, init_dvaudio_plugin },
{ PLUGIN_NONE, 0, "", 0, NULL, NULL }
diff --git a/src/libffmpeg/xine_decoder.c b/src/libffmpeg/xine_decoder.c
index 952e874d0..cbd0870d3 100644
--- a/src/libffmpeg/xine_decoder.c
+++ b/src/libffmpeg/xine_decoder.c
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: xine_decoder.c,v 1.168 2006/05/03 19:46:07 dsalt Exp $
+ * $Id: xine_decoder.c,v 1.169 2006/07/10 22:08:29 dgp85 Exp $
*
* xine decoder plugin using ffmpeg
*
@@ -143,7 +143,7 @@ void init_once_routine(void) {
* exported plugin catalog entry
*/
-const plugin_info_t xine_plugin_info[] = {
+const plugin_info_t xine_plugin_info[] EXPORTED = {
/* type, API, "name", version, special_info, init_function */
{ PLUGIN_VIDEO_DECODER | PLUGIN_MUST_PRELOAD, 18, "ffmpegvideo", XINE_VERSION_CODE, &dec_info_ffmpeg_video, init_video_plugin },
{ PLUGIN_VIDEO_DECODER, 18, "ffmpeg-wmv8", XINE_VERSION_CODE, &dec_info_ffmpeg_wmv8, init_video_plugin },
diff --git a/src/libffmpeg/xine_encoder.c b/src/libffmpeg/xine_encoder.c
index d67b598a1..e234b4ddc 100644
--- a/src/libffmpeg/xine_encoder.c
+++ b/src/libffmpeg/xine_encoder.c
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: xine_encoder.c,v 1.24 2006/06/30 00:21:30 dgp85 Exp $
+ * $Id: xine_encoder.c,v 1.25 2006/07/10 22:08:29 dgp85 Exp $
*/
/* mpeg encoders for the dxr3 video out plugin. */
@@ -51,8 +51,8 @@
#define DEFAULT_BUFFER_SIZE 512*1024
-/*initialisation function*/
-int dxr3_encoder_init(dxr3_driver_t *drv);
+/*initialisation function, used by the dxr3 plugin */
+int dxr3_encoder_init(dxr3_driver_t *drv) EXPORTED;
/* functions required by encoder api */
static int lavc_on_update_format(dxr3_driver_t *drv, dxr3_frame_t *frame);
diff --git a/src/libflac/Makefile.am b/src/libflac/Makefile.am
index bd49237dc..12304ff84 100644
--- a/src/libflac/Makefile.am
+++ b/src/libflac/Makefile.am
@@ -1,7 +1,5 @@
include $(top_srcdir)/misc/Makefile.common
-AM_CFLAGS = $(LIBFLAC_CFLAGS)
-
if HAVE_FLAC
flac_module = xineplug_flac.la
endif
@@ -12,6 +10,7 @@ lib_LTLIBRARIES = $(flac_module)
xineplug_flac_la_SOURCES = demux_flac.c decoder_flac.c
xineplug_flac_la_LIBADD = $(LIBFLAC_LIBS) $(XINE_LIB)
-xineplug_flac_la_LDFLAGS = -avoid-version -module -lFLAC @XINE_PLUGIN_MIN_SYMS@
+xineplug_flac_la_CFLAGS = $(LIBFLAC_CFLAGS) $(VISIBILITY_FLAG)
+xineplug_flac_la_LDFLAGS = -avoid-version -module
noinst_HEADERS = demux_flac.h
diff --git a/src/libflac/decoder_flac.c b/src/libflac/decoder_flac.c
index 65f4422ca..a568e27e3 100644
--- a/src/libflac/decoder_flac.c
+++ b/src/libflac/decoder_flac.c
@@ -400,7 +400,7 @@ static const decoder_info_t dec_info_audio = {
5 /* priority */
};
-const plugin_info_t xine_plugin_info[] = {
+const plugin_info_t xine_plugin_info[] EXPORTED = {
/* type, API, "name", version, special_info, init_function */
{ PLUGIN_DEMUX, 26, "flac", XINE_VERSION_CODE, NULL, demux_flac_init_class },
{ PLUGIN_AUDIO_DECODER, 15, "flacdec", XINE_VERSION_CODE, &dec_info_audio, init_plugin },
diff --git a/src/liblpcm/Makefile.am b/src/liblpcm/Makefile.am
index 56972b4a3..e8527ee5c 100644
--- a/src/liblpcm/Makefile.am
+++ b/src/liblpcm/Makefile.am
@@ -6,4 +6,5 @@ lib_LTLIBRARIES = xineplug_decode_lpcm.la
xineplug_decode_lpcm_la_SOURCES = xine_decoder.c
xineplug_decode_lpcm_la_LIBADD = $(XINE_LIB)
-xineplug_decode_lpcm_la_LDFLAGS = -avoid-version -module @XINE_PLUGIN_MIN_SYMS@
+xineplug_decode_lpcm_la_CFLAGS = $(VISIBILITY_FLAG)
+xineplug_decode_lpcm_la_LDFLAGS = -avoid-version -module
diff --git a/src/liblpcm/xine_decoder.c b/src/liblpcm/xine_decoder.c
index 4ca792d99..65ec012d7 100644
--- a/src/liblpcm/xine_decoder.c
+++ b/src/liblpcm/xine_decoder.c
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: xine_decoder.c,v 1.60 2006/06/18 20:29:04 dgp85 Exp $
+ * $Id: xine_decoder.c,v 1.61 2006/07/10 22:08:29 dgp85 Exp $
*
* 31-8-2001 Added LPCM rate sensing.
* (c) 2001 James Courtier-Dutton James@superbug.demon.co.uk
@@ -285,7 +285,7 @@ static const decoder_info_t dec_info_audio = {
1 /* priority */
};
-const plugin_info_t xine_plugin_info[] = {
+const plugin_info_t xine_plugin_info[] EXPORTED = {
/* type, API, "name", version, special_info, init_function */
{ PLUGIN_AUDIO_DECODER, 15, "pcm", XINE_VERSION_CODE, &dec_info_audio, init_plugin },
{ PLUGIN_NONE, 0, "", 0, NULL, NULL }
diff --git a/src/libmad/Makefile.am b/src/libmad/Makefile.am
index b8568f936..8d704205b 100644
--- a/src/libmad/Makefile.am
+++ b/src/libmad/Makefile.am
@@ -34,11 +34,11 @@ xineplug_decode_mad_la_SOURCES = \
if EXTERNAL_LIBMAD
xineplug_decode_mad_la_LIBADD = $(XINE_LIB) $(LIBMAD_LIBS)
-xineplug_decode_mad_la_CFLAGS = $(LIBMAD_CFLAGS)
else
xineplug_decode_mad_la_LIBADD = $(XINE_LIB)
endif
-xineplug_decode_mad_la_LDFLAGS = -avoid-version -module @XINE_PLUGIN_MIN_SYMS@
+xineplug_decode_mad_la_CFLAGS = $(LIBMAD_CFLAGS) $(VISIBILITY_FLAG)
+xineplug_decode_mad_la_LDFLAGS = -avoid-version -module
noinst_HEADERS = \
D.dat \
diff --git a/src/libmad/xine_decoder.c b/src/libmad/xine_decoder.c
index b14bf5f1b..28407cfec 100644
--- a/src/libmad/xine_decoder.c
+++ b/src/libmad/xine_decoder.c
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: xine_decoder.c,v 1.56 2006/06/02 22:18:57 dsalt Exp $
+ * $Id: xine_decoder.c,v 1.57 2006/07/10 22:08:29 dgp85 Exp $
*
* stuff needed to turn libmad into a xine decoder plugin
*/
@@ -368,7 +368,7 @@ static const decoder_info_t dec_info_audio = {
7 /* priority */
};
-const plugin_info_t xine_plugin_info[] = {
+const plugin_info_t xine_plugin_info[] EXPORTED = {
/* type, API, "name", version, special_info, init_function */
{ PLUGIN_AUDIO_DECODER, 15, "mad", XINE_VERSION_CODE, &dec_info_audio, init_plugin },
{ PLUGIN_NONE, 0, "", 0, NULL, NULL }
diff --git a/src/libmpeg2/Makefile.am b/src/libmpeg2/Makefile.am
index 8bcc9b8b2..cbc79fabd 100644
--- a/src/libmpeg2/Makefile.am
+++ b/src/libmpeg2/Makefile.am
@@ -27,7 +27,8 @@ xineplug_decode_mpeg2_la_SOURCES = \
libmpeg2_accel.c
xineplug_decode_mpeg2_la_LIBADD = $(MLIB_LIBS) $(XINE_LIB)
-xineplug_decode_mpeg2_la_LDFLAGS = -avoid-version -module @XINE_PLUGIN_MIN_SYMS@
+xineplug_decode_mpeg2_la_CFLAGS = $(VISIBILITY_FLAG)
+xineplug_decode_mpeg2_la_LDFLAGS = -avoid-version -module
noinst_HEADERS = vlc.h mpeg2.h xvmc.h xvmc_vld.h mpeg2_internal.h idct_mlib.h vis.h \
libmpeg2_accel.h
diff --git a/src/libmpeg2/xine_decoder.c b/src/libmpeg2/xine_decoder.c
index 17957a6d3..8c0d176c0 100644
--- a/src/libmpeg2/xine_decoder.c
+++ b/src/libmpeg2/xine_decoder.c
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: xine_decoder.c,v 1.58 2006/06/02 22:18:57 dsalt Exp $
+ * $Id: xine_decoder.c,v 1.59 2006/07/10 22:08:29 dgp85 Exp $
*
* stuff needed to turn libmpeg2 into a xine decoder plugin
*/
@@ -177,7 +177,7 @@ static const decoder_info_t dec_info_mpeg2 = {
7 /* priority */
};
-const plugin_info_t xine_plugin_info[] = {
+const plugin_info_t xine_plugin_info[] EXPORTED = {
/* type, API, "name", version, special_info, init_function */
{ PLUGIN_VIDEO_DECODER, 18, "mpeg2", XINE_VERSION_CODE, &dec_info_mpeg2, init_plugin },
{ PLUGIN_NONE, 0, "", 0, NULL, NULL }
diff --git a/src/libmusepack/Makefile.am b/src/libmusepack/Makefile.am
index dfbb33a43..477dc31f9 100644
--- a/src/libmusepack/Makefile.am
+++ b/src/libmusepack/Makefile.am
@@ -11,5 +11,6 @@ lib_LTLIBRARIES = xineplug_decode_mpc.la
xineplug_decode_mpc_la_SOURCES = huffsv46.c huffsv7.c idtag.c mpc_decoder.c \
mpc_reader.c requant.c streaminfo.c synth_filter.c xine_decoder.c
xineplug_decode_mpc_la_LIBADD = $(XINE_LIB)
-xineplug_decode_mpc_la_LDFLAGS = -avoid-version -module @XINE_PLUGIN_MIN_SYMS@
+xineplug_decode_mpc_la_CFLAGS = $(VISIBILITY_FLAG)
+xineplug_decode_mpc_la_LDFLAGS = -avoid-version -module
diff --git a/src/libmusepack/xine_decoder.c b/src/libmusepack/xine_decoder.c
index e6b80a1e6..03d43fb63 100644
--- a/src/libmusepack/xine_decoder.c
+++ b/src/libmusepack/xine_decoder.c
@@ -23,7 +23,7 @@
* 32bit float output
* Seeking??
*
- * $Id: xine_decoder.c,v 1.8 2006/06/18 20:29:04 dgp85 Exp $
+ * $Id: xine_decoder.c,v 1.9 2006/07/10 22:08:29 dgp85 Exp $
*/
#include <stdio.h>
@@ -459,7 +459,7 @@ static const decoder_info_t dec_info_audio = {
5 /* priority */
};
-const plugin_info_t xine_plugin_info[] = {
+const plugin_info_t xine_plugin_info[] EXPORTED = {
/* { type, API version, "name", version, special_info, init_function }, */
{ PLUGIN_AUDIO_DECODER, 15, "mpc", XINE_VERSION_CODE, &dec_info_audio, &init_plugin },
{ PLUGIN_NONE, 0, "", 0, NULL, NULL }
diff --git a/src/libreal/Makefile.am b/src/libreal/Makefile.am
index bf6adc19e..72dac45a1 100644
--- a/src/libreal/Makefile.am
+++ b/src/libreal/Makefile.am
@@ -6,8 +6,10 @@ lib_LTLIBRARIES = xineplug_decode_real.la xineplug_decode_real_audio.la
xineplug_decode_real_la_SOURCES = xine_decoder.c
xineplug_decode_real_la_LIBADD = $(XINE_LIB) $(DYNAMIC_LD_LIBS)
-xineplug_decode_real_la_LDFLAGS = -avoid-version -module @XINE_PLUGIN_MIN_SYMS@
+xineplug_decode_real_la_CFLAGS = $(VISIBILITY_FLAG)
+xineplug_decode_real_la_LDFLAGS = -avoid-version -module
xineplug_decode_real_audio_la_SOURCES = audio_decoder.c
xineplug_decode_real_audio_la_LIBADD = $(XINE_LIB) $(DYNAMIC_LD_LIBS)
-xineplug_decode_real_audio_la_LDFLAGS = -avoid-version -module @XINE_PLUGIN_MIN_SYMS@
+xineplug_decode_real_audio_la_CFLAGS = $(VISIBILITY_FLAG)
+xineplug_decode_real_audio_la_LDFLAGS = -avoid-version -module
diff --git a/src/libreal/audio_decoder.c b/src/libreal/audio_decoder.c
index 852512105..d5b2b2d26 100644
--- a/src/libreal/audio_decoder.c
+++ b/src/libreal/audio_decoder.c
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: audio_decoder.c,v 1.48 2006/06/17 12:28:31 dgp85 Exp $
+ * $Id: audio_decoder.c,v 1.49 2006/07/10 22:08:30 dgp85 Exp $
*
* thin layer to use real binary-only codecs in xine
*
@@ -681,6 +681,10 @@ static void dispose_class (audio_decoder_class_t *this) {
/*
* some fake functions to make real codecs happy
*/
+void *__builtin_vec_new(unsigned long size) EXPORTED;
+void __builtin_vec_delete(void *mem) EXPORTED;
+void __pure_virtual(void) EXPORTED;
+
void *__builtin_vec_new(unsigned long size) {
return malloc(size);
}
@@ -766,7 +770,7 @@ static const decoder_info_t dec_info_audio = {
5 /* priority */
};
-const plugin_info_t xine_plugin_info[] = {
+const plugin_info_t xine_plugin_info[] EXPORTED = {
/* type, API, "name", version, special_info, init_function */
{ PLUGIN_AUDIO_DECODER | PLUGIN_MUST_PRELOAD, 15, "realadec", XINE_VERSION_CODE, &dec_info_audio, init_class },
{ PLUGIN_NONE, 0, "", 0, NULL, NULL }
diff --git a/src/libreal/xine_decoder.c b/src/libreal/xine_decoder.c
index 4dcf61250..0ed7f12d8 100644
--- a/src/libreal/xine_decoder.c
+++ b/src/libreal/xine_decoder.c
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: xine_decoder.c,v 1.82 2006/06/17 12:28:31 dgp85 Exp $
+ * $Id: xine_decoder.c,v 1.83 2006/07/10 22:08:30 dgp85 Exp $
*
* thin layer to use real binary-only codecs in xine
*
@@ -577,6 +577,10 @@ static void dispose_class (video_decoder_class_t *this) {
/*
* some fake functions to make real codecs happy
*/
+void *__builtin_vec_new(uint32_t size) EXPORTED;
+void __builtin_vec_delete(void *mem) EXPORTED;
+void __pure_virtual(void) EXPORTED;
+
void *__builtin_vec_new(uint32_t size) {
return malloc(size);
}
@@ -660,7 +664,7 @@ static const decoder_info_t dec_info_real = {
7 /* priority */
};
-const plugin_info_t xine_plugin_info[] = {
+const plugin_info_t xine_plugin_info[] EXPORTED = {
/* type, API, "name", version, special_info, init_function */
{ PLUGIN_VIDEO_DECODER | PLUGIN_MUST_PRELOAD, 18, "real", XINE_VERSION_CODE, &dec_info_real, init_class },
{ PLUGIN_NONE, 0, "", 0, NULL, NULL }
diff --git a/src/libspeex/Makefile.am b/src/libspeex/Makefile.am
index ae10631a9..bfe6f35b9 100644
--- a/src/libspeex/Makefile.am
+++ b/src/libspeex/Makefile.am
@@ -1,7 +1,5 @@
include $(top_srcdir)/misc/Makefile.common
-AM_CFLAGS = $(SPEEX_CFLAGS)
-
libdir = $(XINE_PLUGINDIR)
if HAVE_SPEEX
@@ -12,4 +10,5 @@ lib_LTLIBRARIES = $(speex_module)
xineplug_decode_speex_la_SOURCES = xine_decoder.c
xineplug_decode_speex_la_LIBADD = $(SPEEX_LIBS) $(XINE_LIB)
-xineplug_decode_speex_la_LDFLAGS = -avoid-version -module @XINE_PLUGIN_MIN_SYMS@
+xineplug_decode_speex_la_CFLAGS = $(VISIBILITY_FLAGS) $(SPEEX_CFLAGS)
+xineplug_decode_speex_la_LDFLAGS = -avoid-version -module
diff --git a/src/libspeex/xine_decoder.c b/src/libspeex/xine_decoder.c
index 40bf66b8f..2ee6a643c 100644
--- a/src/libspeex/xine_decoder.c
+++ b/src/libspeex/xine_decoder.c
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: xine_decoder.c,v 1.19 2006/06/02 22:18:57 dsalt Exp $
+ * $Id: xine_decoder.c,v 1.20 2006/07/10 22:08:30 dgp85 Exp $
*
* (ogg/)speex audio decoder plugin (libspeex wrapper) for xine
*/
@@ -436,7 +436,7 @@ static const decoder_info_t dec_info_audio = {
5 /* priority */
};
-const plugin_info_t xine_plugin_info[] = {
+const plugin_info_t xine_plugin_info[] EXPORTED = {
/* type, API, "name", version, special_info, init_function */
{ PLUGIN_AUDIO_DECODER, 15, "speex", XINE_VERSION_CODE, &dec_info_audio, init_plugin },
{ PLUGIN_NONE, 0, "", 0, NULL, NULL }
diff --git a/src/libspucc/Makefile.am b/src/libspucc/Makefile.am
index c2985eb53..fff0ab47c 100644
--- a/src/libspucc/Makefile.am
+++ b/src/libspucc/Makefile.am
@@ -5,8 +5,8 @@ libdir = $(XINE_PLUGINDIR)
lib_LTLIBRARIES = xineplug_decode_spucc.la
xineplug_decode_spucc_la_SOURCES = cc_decoder.c xine_decoder.c
-xineplug_decode_spucc_la_CFLAGS = $(AM_CFLAGS) -fno-strict-aliasing
+xineplug_decode_spucc_la_CFLAGS = $(VISIBILITY_FLAG) $(AM_CFLAGS) -fno-strict-aliasing
xineplug_decode_spucc_la_LIBADD = $(XINE_LIB)
-xineplug_decode_spucc_la_LDFLAGS = -avoid-version -module @XINE_PLUGIN_MIN_SYMS@
+xineplug_decode_spucc_la_LDFLAGS = -avoid-version -module
noinst_HEADERS = cc_decoder.h
diff --git a/src/libspucc/xine_decoder.c b/src/libspucc/xine_decoder.c
index cb82c6c3e..1a32274f6 100644
--- a/src/libspucc/xine_decoder.c
+++ b/src/libspucc/xine_decoder.c
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: xine_decoder.c,v 1.33 2006/06/02 22:18:58 dsalt Exp $
+ * $Id: xine_decoder.c,v 1.34 2006/07/10 22:08:30 dgp85 Exp $
*
* closed caption spu decoder. receive data by events.
*
@@ -362,7 +362,7 @@ static const decoder_info_t spudec_info = {
1 /* priority */
};
-const plugin_info_t xine_plugin_info[] = {
+const plugin_info_t xine_plugin_info[] EXPORTED = {
/* type, API, "name", version, special_info, init_function */
{ PLUGIN_SPU_DECODER, 16, "spucc", XINE_VERSION_CODE, &spudec_info, &init_spu_decoder_plugin },
{ PLUGIN_NONE, 0, "", 0, NULL, NULL }
diff --git a/src/libspucmml/Makefile.am b/src/libspucmml/Makefile.am
index ad86c0da0..cf9095399 100644
--- a/src/libspucmml/Makefile.am
+++ b/src/libspucmml/Makefile.am
@@ -6,4 +6,5 @@ lib_LTLIBRARIES = xineplug_decode_spucmml.la
xineplug_decode_spucmml_la_SOURCES = xine_decoder.c
xineplug_decode_spucmml_la_LIBADD = $(XINE_LIB)
-xineplug_decode_spucmml_la_LDFLAGS = -avoid-version -module @XINE_PLUGIN_MIN_SYMS@
+xineplug_decode_spucmml_la_CFLAGS = $(VISIBILITY_FLAG)
+xineplug_decode_spucmml_la_LDFLAGS = -avoid-version -module
diff --git a/src/libspucmml/xine_decoder.c b/src/libspucmml/xine_decoder.c
index 4ff5bc52d..13cb6c066 100644
--- a/src/libspucmml/xine_decoder.c
+++ b/src/libspucmml/xine_decoder.c
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: xine_decoder.c,v 1.7 2006/06/18 20:29:04 dgp85 Exp $
+ * $Id: xine_decoder.c,v 1.8 2006/07/10 22:08:30 dgp85 Exp $
*
*/
@@ -544,7 +544,7 @@ static const decoder_info_t spudec_info = {
1 /* priority */
};
-const plugin_info_t xine_plugin_info[] = {
+const plugin_info_t xine_plugin_info[] EXPORTED = {
/* type, API, "name", version, special_info, init_function */
{ PLUGIN_SPU_DECODER, 16, "spucmml", XINE_VERSION_CODE, &spudec_info, &init_spu_decoder_plugin },
{ PLUGIN_NONE, 0, "", 0, NULL, NULL }
diff --git a/src/libspudec/Makefile.am b/src/libspudec/Makefile.am
index c106e23e4..aedfb2e71 100644
--- a/src/libspudec/Makefile.am
+++ b/src/libspudec/Makefile.am
@@ -9,7 +9,6 @@ if HAVE_DVDNAV
xineplug_decode_spu_la_SOURCES = \
spu.c \
xine_decoder.c
-AM_CPPFLAGS = $(DVDNAV_CFLAGS)
xineplug_decode_spu_la_LIBADD = $(XINE_LIB) $(DVDNAV_LIBS) $(THREAD_LIBS)
else
@@ -23,6 +22,7 @@ xineplug_decode_spu_la_LIBADD = $(XINE_LIB) $(THREAD_LIBS)
endif
-xineplug_decode_spu_la_LDFLAGS = -avoid-version -module @XINE_PLUGIN_MIN_SYMS@
+xineplug_decode_spu_la_CFLAGS = $(DVDNAV_CFLAGS) $(VISIBILITY_FLAG)
+xineplug_decode_spu_la_LDFLAGS = -avoid-version -module
noinst_HEADERS = spu.h
diff --git a/src/libspudec/xine_decoder.c b/src/libspudec/xine_decoder.c
index b71960dc1..30c7f18c9 100644
--- a/src/libspudec/xine_decoder.c
+++ b/src/libspudec/xine_decoder.c
@@ -19,7 +19,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: xine_decoder.c,v 1.115 2006/06/02 22:18:58 dsalt Exp $
+ * $Id: xine_decoder.c,v 1.116 2006/07/10 22:08:30 dgp85 Exp $
*
* stuff needed to turn libspu into a xine decoder plugin
*/
@@ -397,7 +397,7 @@ static const decoder_info_t dec_info_data = {
5 /* priority */
};
-const plugin_info_t xine_plugin_info[] = {
+const plugin_info_t xine_plugin_info[] EXPORTED = {
/* type, API, "name", version, special_info, init_function */
{ PLUGIN_SPU_DECODER, 16, "spudec", XINE_VERSION_CODE, &dec_info_data, &init_plugin },
{ PLUGIN_NONE, 0, "", 0, NULL, NULL }
diff --git a/src/libspudvb/Makefile.am b/src/libspudvb/Makefile.am
index c4fe664d5..704d085c5 100644
--- a/src/libspudvb/Makefile.am
+++ b/src/libspudvb/Makefile.am
@@ -6,4 +6,5 @@ lib_LTLIBRARIES = xineplug_decode_spudvb.la
xineplug_decode_spudvb_la_SOURCES = xine_decoder.c
xineplug_decode_spudvb_la_LIBADD = $(XINE_LIB) $(THREAD_LIBS)
-xineplug_decode_spudvb_la_LDFLAGS = -avoid-version -module @XINE_PLUGIN_MIN_SYMS@
+xineplug_decode_spudvb_la_CFLAGS = $(VISIBILITY_FLAG)
+xineplug_decode_spudvb_la_LDFLAGS = -avoid-version -module
diff --git a/src/libspudvb/xine_decoder.c b/src/libspudvb/xine_decoder.c
index bddf263de..f2fcfe182 100644
--- a/src/libspudvb/xine_decoder.c
+++ b/src/libspudvb/xine_decoder.c
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: xine_decoder.c,v 1.19 2006/06/02 22:18:58 dsalt Exp $
+ * $Id: xine_decoder.c,v 1.20 2006/07/10 22:08:30 dgp85 Exp $
*
* DVB Subtitle decoder (ETS 300 743)
* (c) 2004 Mike Lampard <mlampard@users.sourceforge.net>
@@ -869,7 +869,7 @@ static const decoder_info_t spudec_info = {
1 /* priority */
};
-const plugin_info_t xine_plugin_info[] = {
+const plugin_info_t xine_plugin_info[] EXPORTED = {
/* type, API, "name", version, special_info, init_function */
{PLUGIN_SPU_DECODER, 16, "spudvb", XINE_VERSION_CODE, &spudec_info,
&init_spu_decoder_plugin},
diff --git a/src/libsputext/Makefile.am b/src/libsputext/Makefile.am
index 99fbbd213..362f9319e 100644
--- a/src/libsputext/Makefile.am
+++ b/src/libsputext/Makefile.am
@@ -8,8 +8,10 @@ lib_LTLIBRARIES = $(sputext_decoder)
xineplug_dmx_sputext_la_SOURCES = demux_sputext.c
xineplug_dmx_sputext_la_LIBADD = $(XINE_LIB)
-xineplug_dmx_sputext_la_LDFLAGS = -avoid-version -module @XINE_PLUGIN_MIN_SYMS@
+xineplug_dmx_sputext_la_CFLAGS = $(VISIBILITY_FLAG)
+xineplug_dmx_sputext_la_LDFLAGS = -avoid-version -module
xineplug_decode_sputext_la_SOURCES = xine_decoder.c
xineplug_decode_sputext_la_LIBADD = $(XINE_LIB)
-xineplug_decode_sputext_la_LDFLAGS = -avoid-version -module @XINE_PLUGIN_MIN_SYMS@
+xineplug_decode_sputext_la_CFLAGS = $(VISIBILITY_FLAG)
+xineplug_decode_sputext_la_LDFLAGS = -avoid-version -module
diff --git a/src/libsputext/demux_sputext.c b/src/libsputext/demux_sputext.c
index 7e75d19da..d5c591212 100644
--- a/src/libsputext/demux_sputext.c
+++ b/src/libsputext/demux_sputext.c
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: demux_sputext.c,v 1.48 2006/05/03 19:46:08 dsalt Exp $
+ * $Id: demux_sputext.c,v 1.49 2006/07/10 22:08:30 dgp85 Exp $
*
* code based on old libsputext/xine_decoder.c
*
@@ -1513,7 +1513,7 @@ static void *init_sputext_demux_class (xine_t *xine, void *data) {
return this;
}
-const plugin_info_t xine_plugin_info[] = {
+const plugin_info_t xine_plugin_info[] EXPORTED = {
/* type, API, "name", version, special_info, init_function */
{ PLUGIN_DEMUX, 26, "sputext", XINE_VERSION_CODE, NULL, &init_sputext_demux_class },
{ PLUGIN_NONE, 0, "", 0, NULL, NULL }
diff --git a/src/libsputext/xine_decoder.c b/src/libsputext/xine_decoder.c
index 4da156c5c..fb0251812 100644
--- a/src/libsputext/xine_decoder.c
+++ b/src/libsputext/xine_decoder.c
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: xine_decoder.c,v 1.94 2006/06/17 12:50:18 hadess Exp $
+ * $Id: xine_decoder.c,v 1.95 2006/07/10 22:08:30 dgp85 Exp $
*
*/
@@ -959,7 +959,7 @@ static const decoder_info_t spudec_info = {
1 /* priority */
};
-const plugin_info_t xine_plugin_info[] = {
+const plugin_info_t xine_plugin_info[] EXPORTED = {
/* type, API, "name", version, special_info, init_function */
{ PLUGIN_SPU_DECODER | PLUGIN_MUST_PRELOAD, 16, "sputext", XINE_VERSION_CODE, &spudec_info, &init_spu_decoder_plugin },
{ PLUGIN_NONE, 0, "", 0, NULL, NULL }
diff --git a/src/libtheora/Makefile.am b/src/libtheora/Makefile.am
index 94c1e8f39..d3813765d 100644
--- a/src/libtheora/Makefile.am
+++ b/src/libtheora/Makefile.am
@@ -12,4 +12,4 @@ lib_LTLIBRARIES = $(theora_module)
xineplug_decode_theora_la_SOURCES = xine_decoder.c
xineplug_decode_theora_la_LIBADD = $(OGG_LIBS) $(THEORA_LIBS) $(XINE_LIB)
-xineplug_decode_theora_la_LDFLAGS = -avoid-version -module @XINE_PLUGIN_MIN_SYMS@
+xineplug_decode_theora_la_LDFLAGS = -avoid-version -module
diff --git a/src/libtheora/xine_decoder.c b/src/libtheora/xine_decoder.c
index d17a1bc3b..032f8800f 100644
--- a/src/libtheora/xine_decoder.c
+++ b/src/libtheora/xine_decoder.c
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: xine_decoder.c,v 1.25 2006/06/02 22:18:58 dsalt Exp $
+ * $Id: xine_decoder.c,v 1.26 2006/07/10 22:08:30 dgp85 Exp $
*
* xine decoder plugin using libtheora
*
@@ -395,7 +395,7 @@ static const decoder_info_t dec_info_video = {
5 /* priority */
};
-const plugin_info_t xine_plugin_info[] = {
+const plugin_info_t xine_plugin_info[] EXPORTED = {
/* type, API, "name", version, special_info, init_function */
{ PLUGIN_VIDEO_DECODER, 18, "theora", XINE_VERSION_CODE, &dec_info_video, init_plugin },
{ PLUGIN_NONE, 0, "", 0, NULL, NULL }
diff --git a/src/libvorbis/Makefile.am b/src/libvorbis/Makefile.am
index 9966ff48a..09abced93 100644
--- a/src/libvorbis/Makefile.am
+++ b/src/libvorbis/Makefile.am
@@ -1,7 +1,5 @@
include $(top_srcdir)/misc/Makefile.common
-AM_CFLAGS = $(VORBIS_CFLAGS)
-
libdir = $(XINE_PLUGINDIR)
if HAVE_VORBIS
@@ -12,4 +10,5 @@ lib_LTLIBRARIES = $(vorbis_module)
xineplug_decode_vorbis_la_SOURCES = xine_decoder.c
xineplug_decode_vorbis_la_LIBADD = $(VORBIS_LIBS) $(OGG_LIBS) $(XINE_LIB)
-xineplug_decode_vorbis_la_LDFLAGS = -avoid-version -module @XINE_PLUGIN_MIN_SYMS@
+xineplug_decode_vorbis_la_CFLAGS = $(VORBIS_CFLAGS) $(VISIBILITY_FLAG)
+xineplug_decode_vorbis_la_LDFLAGS = -avoid-version -module
diff --git a/src/libvorbis/xine_decoder.c b/src/libvorbis/xine_decoder.c
index 7db5fed02..12d0a83f2 100644
--- a/src/libvorbis/xine_decoder.c
+++ b/src/libvorbis/xine_decoder.c
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: xine_decoder.c,v 1.46 2006/06/02 22:18:58 dsalt Exp $
+ * $Id: xine_decoder.c,v 1.47 2006/07/10 22:08:30 dgp85 Exp $
*
* (ogg/)vorbis audio decoder plugin (libvorbis wrapper) for xine
*/
@@ -344,7 +344,7 @@ static const decoder_info_t dec_info_audio = {
5 /* priority */
};
-const plugin_info_t xine_plugin_info[] = {
+const plugin_info_t xine_plugin_info[] EXPORTED = {
/* type, API, "name", version, special_info, init_function */
{ PLUGIN_AUDIO_DECODER, 15, "vorbis", XINE_VERSION_CODE, &dec_info_audio, init_plugin },
{ PLUGIN_NONE, 0, "", 0, NULL, NULL }
diff --git a/src/libw32dll/Makefile.am b/src/libw32dll/Makefile.am
index 53caf4bcf..aa42cd8e3 100644
--- a/src/libw32dll/Makefile.am
+++ b/src/libw32dll/Makefile.am
@@ -1,6 +1,6 @@
include $(top_srcdir)/misc/Makefile.common
-AM_CFLAGS = -I$(srcdir)/wine -DWIN32_PATH=\"@w32_path@\"
+AM_CFLAGS = -I$(srcdir)/wine -DWIN32_PATH=\"@w32_path@\" $(VISIBILITY_FLAG)
SUBDIRS = wine DirectShow dmo qtx
@@ -17,7 +17,7 @@ EXTRA_DIST = common.c
xineplug_decode_w32dll_la_SOURCES = w32codec.c
xineplug_decode_w32dll_la_LDFLAGS = -avoid-version -module \
- @XINE_PLUGIN_MIN_SYMS@ @IMPURE_TEXT_LDFLAGS@
+ @IMPURE_TEXT_LDFLAGS@
xineplug_decode_w32dll_la_LIBADD = \
$(top_builddir)/src/libw32dll/wine/libwine.la \
$(XINE_LIB) \
@@ -27,7 +27,7 @@ xineplug_decode_w32dll_la_LIBADD = \
xineplug_decode_qt_la_SOURCES = qt_decoder.c
xineplug_decode_qt_la_LDFLAGS = -avoid-version -module \
- @XINE_PLUGIN_MIN_SYMS@ @IMPURE_TEXT_LDFLAGS@
+ IMPURE_TEXT_LDFLAGS@
xineplug_decode_qt_la_LIBADD = \
$(top_builddir)/src/libw32dll/wine/libwine.la \
$(XINE_LIB) \
diff --git a/src/libw32dll/qt_decoder.c b/src/libw32dll/qt_decoder.c
index 13b7d752d..95a0a79fd 100644
--- a/src/libw32dll/qt_decoder.c
+++ b/src/libw32dll/qt_decoder.c
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: qt_decoder.c,v 1.44 2006/06/11 15:09:47 valtri Exp $
+ * $Id: qt_decoder.c,v 1.45 2006/07/10 22:08:43 dgp85 Exp $
*
* quicktime video/audio decoder plugin, using win32 dlls
* most of this code comes directly from MPlayer
@@ -1139,7 +1139,7 @@ static const decoder_info_t qtv_dec_info = {
1 /* priority */
};
-const plugin_info_t xine_plugin_info[] = {
+const plugin_info_t xine_plugin_info[] EXPORTED = {
/* type, API, "name", version, special_info, init_function */
{ PLUGIN_VIDEO_DECODER | PLUGIN_MUST_PRELOAD, 18, "qtv", XINE_VERSION_CODE, &qtv_dec_info, qtv_init_class },
{ PLUGIN_AUDIO_DECODER | PLUGIN_MUST_PRELOAD, 15, "qta", XINE_VERSION_CODE, &qta_dec_info, qta_init_class },
diff --git a/src/libw32dll/w32codec.c b/src/libw32dll/w32codec.c
index 2a0bf920b..99509372e 100644
--- a/src/libw32dll/w32codec.c
+++ b/src/libw32dll/w32codec.c
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: w32codec.c,v 1.154 2006/06/11 15:09:47 valtri Exp $
+ * $Id: w32codec.c,v 1.155 2006/07/10 22:08:43 dgp85 Exp $
*
* routines for using w32 codecs
* DirectShow support by Miguel Freitas (Nov/2001)
@@ -1704,7 +1704,7 @@ static const decoder_info_t dec_info_audio = {
1 /* priority */
};
-const plugin_info_t xine_plugin_info[] = {
+const plugin_info_t xine_plugin_info[] EXPORTED = {
/* type, API, "name", version, special_info, init_function */
{ PLUGIN_VIDEO_DECODER | PLUGIN_MUST_PRELOAD, 18, "win32v", XINE_VERSION_CODE, &dec_info_video, init_video_decoder_class },
{ PLUGIN_AUDIO_DECODER | PLUGIN_MUST_PRELOAD, 15, "win32a", XINE_VERSION_CODE, &dec_info_audio, init_audio_decoder_class },
diff --git a/src/libxineadec/Makefile.am b/src/libxineadec/Makefile.am
index b2ea8d6ae..edd259f8f 100644
--- a/src/libxineadec/Makefile.am
+++ b/src/libxineadec/Makefile.am
@@ -4,8 +4,6 @@ EXTRA_DIST = fooaudio.c
libdir = $(XINE_PLUGINDIR)
-AM_CFLAGS = -DNSF_PLAYER
-
SUBDIRS = gsm610 nosefart
lib_LTLIBRARIES = \
@@ -13,14 +11,15 @@ lib_LTLIBRARIES = \
xineplug_decode_nsf.la
xineplug_decode_gsm610_la_SOURCES = gsm610.c
-xineplug_decode_gsm610_la_LDFLAGS = -avoid-version -module @XINE_PLUGIN_MIN_SYMS@
+xineplug_decode_gsm610_la_CFLAGS = $(VISIBILITY_FLAG)
+xineplug_decode_gsm610_la_LDFLAGS = -avoid-version -module
xineplug_decode_gsm610_la_LIBADD = \
$(XINE_LIB) \
$(top_builddir)/src/libxineadec/gsm610/libgsm610.la
xineplug_decode_nsf_la_SOURCES = nsf.c
-xineplug_decode_nsf_la_CFLAGS = -DNSF_PLAYER -fno-strict-aliasing
-xineplug_decode_nsf_la_LDFLAGS = -avoid-version -module @XINE_PLUGIN_MIN_SYMS@
+xineplug_decode_nsf_la_CFLAGS = $(VISIBILITY_FLAG) -DNSF_PLAYER -fno-strict-aliasing
+xineplug_decode_nsf_la_LDFLAGS = -avoid-version -module
xineplug_decode_nsf_la_LIBADD = \
$(XINE_LIB) \
$(top_builddir)/src/libxineadec/nosefart/libnosefart.la
diff --git a/src/libxineadec/fooaudio.c b/src/libxineadec/fooaudio.c
index 0d9b01c16..be2903dd0 100644
--- a/src/libxineadec/fooaudio.c
+++ b/src/libxineadec/fooaudio.c
@@ -21,7 +21,7 @@
* player. It really works too! It will output a continuous sine wave in
* place of the data it should actually send.
*
- * $Id: fooaudio.c,v 1.17 2006/06/02 22:13:45 dsalt Exp $
+ * $Id: fooaudio.c,v 1.18 2006/07/10 22:08:43 dgp85 Exp $
*/
#include <stdio.h>
@@ -342,7 +342,7 @@ static const decoder_info_t dec_info_audio = {
/* The plugin catalog entry. This is the only information that this plugin
* will export to the public. */
-const plugin_info_t xine_plugin_info[] = {
+const plugin_info_t xine_plugin_info[] EXPORTED = {
/* { type, API version, "name", version, special_info, init_function }, */
{ PLUGIN_AUDIO_DECODER, 15, "fooaudio", XINE_VERSION_CODE, &dec_info_audio, &init_plugin },
{ PLUGIN_NONE, 0, "", 0, NULL, NULL }
diff --git a/src/libxineadec/gsm610.c b/src/libxineadec/gsm610.c
index e8f566f84..4f54714c9 100644
--- a/src/libxineadec/gsm610.c
+++ b/src/libxineadec/gsm610.c
@@ -44,7 +44,7 @@
* Carsten Bormann
* --------------------------------------------------------------------
*
- * $Id: gsm610.c,v 1.18 2006/06/02 22:13:45 dsalt Exp $
+ * $Id: gsm610.c,v 1.19 2006/07/10 22:08:43 dgp85 Exp $
*
*/
@@ -289,7 +289,7 @@ static const decoder_info_t dec_info_audio = {
9 /* priority */
};
-const plugin_info_t xine_plugin_info[] = {
+const plugin_info_t xine_plugin_info[] EXPORTED = {
/* type, API, "name", version, special_info, init_function */
{ PLUGIN_AUDIO_DECODER, 15, "gsm610", XINE_VERSION_CODE, &dec_info_audio, init_plugin },
{ PLUGIN_NONE, 0, "", 0, NULL, NULL }
diff --git a/src/libxineadec/gsm610/Makefile.am b/src/libxineadec/gsm610/Makefile.am
index 07fc0e2fa..fe25ad9c3 100644
--- a/src/libxineadec/gsm610/Makefile.am
+++ b/src/libxineadec/gsm610/Makefile.am
@@ -14,6 +14,7 @@ libgsm610_la_SOURCES = \
short_term.c \
table.c
+libgsm610_la_CFLAGS = $(VISIBILITY_FLAG)
libgsm610_la_LDFLAGS = -avoid-version -module
noinst_HEADERS = \
diff --git a/src/libxineadec/nosefart/Makefile.am b/src/libxineadec/nosefart/Makefile.am
index 5a5fd67f8..51cc3f238 100644
--- a/src/libxineadec/nosefart/Makefile.am
+++ b/src/libxineadec/nosefart/Makefile.am
@@ -1,7 +1,5 @@
include $(top_srcdir)/misc/Makefile.common
-AM_CFLAGS = -DNSF_PLAYER -fno-strict-aliasing
-
noinst_LTLIBRARIES = libnosefart.la
libnosefart_la_SOURCES = \
@@ -17,7 +15,7 @@ libnosefart_la_SOURCES = \
nsf.c \
vrcvisnd.c
-libnosefart_la_LDFLAGS = -avoid-version -module
+libnosefart_la_CFLAGS = $(VISIBILITY_FLAG) -DNSF_PLAYER -fno-strict-aliasing
noinst_HEADERS = \
dis6502.h \
diff --git a/src/libxineadec/nsf.c b/src/libxineadec/nsf.c
index db906b087..0d58e9be5 100644
--- a/src/libxineadec/nsf.c
+++ b/src/libxineadec/nsf.c
@@ -20,7 +20,7 @@
* NSF Audio "Decoder" using the Nosefart NSF engine by Matt Conte
* http://www.baisoku.org/
*
- * $Id: nsf.c,v 1.11 2006/06/02 22:13:45 dsalt Exp $
+ * $Id: nsf.c,v 1.12 2006/07/10 22:08:43 dgp85 Exp $
*/
#include <stdio.h>
@@ -286,7 +286,7 @@ static const decoder_info_t dec_info_audio = {
/* The plugin catalog entry. This is the only information that this plugin
* will export to the public. */
-const plugin_info_t xine_plugin_info[] = {
+const plugin_info_t xine_plugin_info[] EXPORTED = {
/* { type, API version, "name", version, special_info, init_function }, */
{ PLUGIN_AUDIO_DECODER, 15, "nsf", XINE_VERSION_CODE, &dec_info_audio, &init_plugin },
{ PLUGIN_NONE, 0, "", 0, NULL, NULL }
diff --git a/src/libxinevdec/Makefile.am b/src/libxinevdec/Makefile.am
index 0e6a16609..ae0d147fa 100644
--- a/src/libxinevdec/Makefile.am
+++ b/src/libxinevdec/Makefile.am
@@ -20,24 +20,24 @@ lib_LTLIBRARIES = $(image_module) \
xineplug_decode_bitplane_la_SOURCES = bitplane.c
xineplug_decode_bitplane_la_LIBADD = $(XINE_LIB)
-xineplug_decode_bitplane_la_LDFLAGS = -avoid-version -module @XINE_PLUGIN_MIN_SYMS@
+xineplug_decode_bitplane_la_LDFLAGS = -avoid-version -module
xineplug_decode_rgb_la_SOURCES = rgb.c
xineplug_decode_rgb_la_LIBADD = $(XINE_LIB)
-xineplug_decode_rgb_la_LDFLAGS = -avoid-version -module @XINE_PLUGIN_MIN_SYMS@
+xineplug_decode_rgb_la_LDFLAGS = -avoid-version -module
xineplug_decode_yuv_la_SOURCES = yuv.c
xineplug_decode_yuv_la_LIBADD = $(XINE_LIB)
-xineplug_decode_yuv_la_LDFLAGS = -avoid-version -module @XINE_PLUGIN_MIN_SYMS@
+xineplug_decode_yuv_la_LDFLAGS = -avoid-version -module
xineplug_decode_image_la_SOURCES = image.c
xineplug_decode_image_la_CPPFLAGS = $(WAND_CPPFLAGS)
xineplug_decode_image_la_CFLAGS = $(WAND_CFLAGS)
xineplug_decode_image_la_LIBADD = $(XINE_LIB) $(DYNAMIC_LD_LIBS) $(WAND_LIBS)
-xineplug_decode_image_la_LDFLAGS = $(WAND_LDFLAGS) -avoid-version -module @XINE_PLUGIN_MIN_SYMS@
+xineplug_decode_image_la_LDFLAGS = $(WAND_LDFLAGS) -avoid-version -module
xineplug_decode_gdk_pixbuf_la_SOURCES = gdkpixbuf.c
xineplug_decode_gdk_pixbuf_la_CFLAGS = $(GDK_PIXBUF_CFLAGS)
xineplug_decode_gdk_pixbuf_la_LIBADD = $(XINE_LIB) $(DYNAMIC_LD_LIBS) $(GDK_PIXBUF_LIBS)
-xineplug_decode_gdk_pixbuf_la_LDFLAGS = -avoid-version -module @XINE_PLUGIN_MIN_SYMS@
+xineplug_decode_gdk_pixbuf_la_LDFLAGS = -avoid-version -module
diff --git a/src/libxinevdec/bitplane.c b/src/libxinevdec/bitplane.c
index 61c2763a8..373d5d8b1 100644
--- a/src/libxinevdec/bitplane.c
+++ b/src/libxinevdec/bitplane.c
@@ -28,7 +28,7 @@
* 8 (long and short)
* - untested (found no testfiles) IFF-ANIM OPT 3, 4 and 6
*
- * $Id: bitplane.c,v 1.14 2006/06/02 22:18:58 dsalt Exp $
+ * $Id: bitplane.c,v 1.15 2006/07/10 22:08:43 dgp85 Exp $
*/
#include <stdio.h>
@@ -1585,7 +1585,7 @@ static const decoder_info_t dec_info_video = {
1 /* priority */
};
-const plugin_info_t xine_plugin_info[] = {
+const plugin_info_t xine_plugin_info[] EXPORTED = {
/* type, API, "name", version, special_info, init_function */
{ PLUGIN_VIDEO_DECODER, 18, "bitplane", XINE_VERSION_CODE, &dec_info_video, init_plugin },
{ PLUGIN_NONE, 0, "", 0, NULL, NULL }
diff --git a/src/libxinevdec/foovideo.c b/src/libxinevdec/foovideo.c
index c5b07527e..01ad84921 100644
--- a/src/libxinevdec/foovideo.c
+++ b/src/libxinevdec/foovideo.c
@@ -23,7 +23,7 @@
* value from the last frame. This creates a slowly rotating solid color
* frame when the frames are played in succession.
*
- * $Id: foovideo.c,v 1.25 2006/06/02 22:18:58 dsalt Exp $
+ * $Id: foovideo.c,v 1.26 2006/07/10 22:08:43 dgp85 Exp $
*/
#include <stdio.h>
@@ -296,7 +296,7 @@ static const decoder_info_t dec_info_video = {
* The plugin catalog entry. This is the only information that this plugin
* will export to the public.
*/
-const plugin_info_t xine_plugin_info[] = {
+const plugin_info_t xine_plugin_info[] EXPORTED = {
/* { type, API, "name", version, special_info, init_function } */
{ PLUGIN_VIDEO_DECODER, 18, "foovideo", XINE_VERSION_CODE, &dec_info_video, init_plugin },
{ PLUGIN_NONE, 0, "", 0, NULL, NULL }
diff --git a/src/libxinevdec/gdkpixbuf.c b/src/libxinevdec/gdkpixbuf.c
index d3d8953db..40b0abb06 100644
--- a/src/libxinevdec/gdkpixbuf.c
+++ b/src/libxinevdec/gdkpixbuf.c
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: gdkpixbuf.c,v 1.5 2006/06/02 22:18:58 dsalt Exp $
+ * $Id: gdkpixbuf.c,v 1.6 2006/07/10 22:08:43 dgp85 Exp $
*
* a gdk-pixbuf-based image video decoder
*/
@@ -307,7 +307,7 @@ static const decoder_info_t dec_info_image = {
7 /* priority */
};
-const plugin_info_t xine_plugin_info[] = {
+const plugin_info_t xine_plugin_info[] EXPORTED = {
/* type, API, "name", version, special_info, init_function */
{ PLUGIN_VIDEO_DECODER, 18, "gdkpixbuf", XINE_VERSION_CODE, &dec_info_image, init_class },
{ PLUGIN_NONE, 0, "", 0, NULL, NULL }
diff --git a/src/libxinevdec/image.c b/src/libxinevdec/image.c
index 383224ed9..bdd29f28a 100644
--- a/src/libxinevdec/image.c
+++ b/src/libxinevdec/image.c
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: image.c,v 1.19 2006/06/02 22:18:58 dsalt Exp $
+ * $Id: image.c,v 1.20 2006/07/10 22:08:43 dgp85 Exp $
*
* a image video decoder
*/
@@ -278,7 +278,7 @@ static const decoder_info_t dec_info_image = {
6 /* priority */
};
-const plugin_info_t xine_plugin_info[] = {
+const plugin_info_t xine_plugin_info[] EXPORTED = {
/* type, API, "name", version, special_info, init_function */
{ PLUGIN_VIDEO_DECODER, 18, "image", XINE_VERSION_CODE, &dec_info_image, init_class },
{ PLUGIN_NONE, 0, "", 0, NULL, NULL }
diff --git a/src/libxinevdec/rgb.c b/src/libxinevdec/rgb.c
index 744fc1b65..662df01de 100644
--- a/src/libxinevdec/rgb.c
+++ b/src/libxinevdec/rgb.c
@@ -30,7 +30,7 @@
* One more catch: Raw RGB from a Microsoft file is upside down. This is
* indicated by a negative height parameter.
*
- * $Id: rgb.c,v 1.33 2006/06/02 22:18:58 dsalt Exp $
+ * $Id: rgb.c,v 1.34 2006/07/10 22:08:43 dgp85 Exp $
*/
#include <stdio.h>
@@ -458,7 +458,7 @@ static const decoder_info_t dec_info_video = {
1 /* priority */
};
-const plugin_info_t xine_plugin_info[] = {
+const plugin_info_t xine_plugin_info[] EXPORTED = {
/* type, API, "name", version, special_info, init_function */
{ PLUGIN_VIDEO_DECODER, 18, "rgb", XINE_VERSION_CODE, &dec_info_video, init_plugin },
{ PLUGIN_NONE, 0, "", 0, NULL, NULL }
diff --git a/src/libxinevdec/yuv.c b/src/libxinevdec/yuv.c
index 639144223..f37ff6ca3 100644
--- a/src/libxinevdec/yuv.c
+++ b/src/libxinevdec/yuv.c
@@ -21,7 +21,7 @@
* Actually, this decoder just reorganizes chunks of raw YUV data in such
* a way that xine can display them.
*
- * $Id: yuv.c,v 1.36 2006/06/02 22:18:58 dsalt Exp $
+ * $Id: yuv.c,v 1.37 2006/07/10 22:08:43 dgp85 Exp $
*/
#include <stdio.h>
@@ -385,7 +385,7 @@ static const decoder_info_t dec_info_video = {
1 /* priority */
};
-const plugin_info_t xine_plugin_info[] = {
+const plugin_info_t xine_plugin_info[] EXPORTED = {
/* type, API, "name", version, special_info, init_function */
{ PLUGIN_VIDEO_DECODER, 18, "yuv", XINE_VERSION_CODE, &dec_info_video, init_plugin },
{ PLUGIN_NONE, 0, "", 0, NULL, NULL }
diff --git a/src/post/audio/Makefile.am b/src/post/audio/Makefile.am
index bacd4cf35..7ed37bc5b 100644
--- a/src/post/audio/Makefile.am
+++ b/src/post/audio/Makefile.am
@@ -8,6 +8,7 @@ lib_LTLIBRARIES = xineplug_post_audio_filters.la
xineplug_post_audio_filters_la_SOURCES = \
upmix.c upmix_mono.c filter.c window.c stretch.c volnorm.c audio_filters.c
-xineplug_post_audio_filters_la_LIBADD = $(XINE_LIB) $(THREAD_LIBS)
-xineplug_post_audio_filters_la_LDFLAGS = -avoid-version -module @XINE_PLUGIN_MIN_SYMS@ -lm
+xineplug_post_audio_filters_la_LIBADD = $(XINE_LIB) $(THREAD_LIBS) -lm
+xineplug_post_audio_filters_la_CFLAGS = $(VISIBILITY_FLAG)
+xineplug_post_audio_filters_la_LDFLAGS = -avoid-version -module
diff --git a/src/post/audio/audio_filters.c b/src/post/audio/audio_filters.c
index a3f3e7c1d..3d56a793b 100644
--- a/src/post/audio/audio_filters.c
+++ b/src/post/audio/audio_filters.c
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: audio_filters.c,v 1.6 2006/06/02 22:18:58 dsalt Exp $
+ * $Id: audio_filters.c,v 1.7 2006/07/10 22:08:44 dgp85 Exp $
*
* catalog for audio filter plugins
*/
@@ -36,7 +36,7 @@ static const post_info_t stretch_special_info = { XINE_POST_TYPE_AUDIO_FILTER
static const post_info_t volnorm_special_info = { XINE_POST_TYPE_AUDIO_FILTER };
-const plugin_info_t xine_plugin_info[] = {
+const plugin_info_t xine_plugin_info[] EXPORTED = {
/* type, API, "name", version, special_info, init_function */
{ PLUGIN_POST, 9, "upmix", XINE_VERSION_CODE, &upmix_special_info, &upmix_init_plugin },
{ PLUGIN_POST, 9, "upmix_mono", XINE_VERSION_CODE, &upmix_mono_special_info, &upmix_mono_init_plugin },
diff --git a/src/post/deinterlace/Makefile.am b/src/post/deinterlace/Makefile.am
index 29853a405..0914e114a 100644
--- a/src/post/deinterlace/Makefile.am
+++ b/src/post/deinterlace/Makefile.am
@@ -13,7 +13,8 @@ xineplug_post_tvtime_la_SOURCES = xine_plugin.c \
xineplug_post_tvtime_la_LIBADD = $(XINE_LIB) \
$(top_builddir)/src/post/deinterlace/plugins/libdeinterlaceplugins.la
+xineplug_post_tvtime_la_CFLAGS = $(VISIBILITY_FLAG)
xineplug_post_tvtime_la_LDFLAGS = -avoid-version -module \
- @XINE_PLUGIN_MIN_SYMS@ @IMPURE_TEXT_LDFLAGS@
+ @IMPURE_TEXT_LDFLAGS@
noinst_HEADERS = deinterlace.h pulldown.h speedtools.h speedy.h tvtime.h
diff --git a/src/post/deinterlace/plugins/Makefile.am b/src/post/deinterlace/plugins/Makefile.am
index 7c5a0770c..e6e785211 100644
--- a/src/post/deinterlace/plugins/Makefile.am
+++ b/src/post/deinterlace/plugins/Makefile.am
@@ -48,6 +48,7 @@ libdeinterlaceplugins_la_SOURCES = \
kdetv_greedyh.c \
kdetv_tomsmocomp.c
libdeinterlaceplugins_la_LIBADD = $(XINE_LIB)
-libdeinterlaceplugins_la_LDFLAGS = -avoid-version -module @XINE_PLUGIN_MIN_SYMS@
+libdeinterlaceplugins_la_CFLAGS = $(VISIBILITY_FLAG) $(AM_CFLAGS)
+libdeinterlaceplugins_la_LDFLAGS = -avoid-version -module
noinst_HEADERS = plugins.h greedyhmacros.h
diff --git a/src/post/deinterlace/xine_plugin.c b/src/post/deinterlace/xine_plugin.c
index 07d2bd448..64b7a02cf 100644
--- a/src/post/deinterlace/xine_plugin.c
+++ b/src/post/deinterlace/xine_plugin.c
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: xine_plugin.c,v 1.50 2006/06/02 22:18:58 dsalt Exp $
+ * $Id: xine_plugin.c,v 1.51 2006/07/10 22:08:44 dgp85 Exp $
*
* advanced video deinterlacer plugin
* Jun/2003 by Miguel Freitas
@@ -47,7 +47,7 @@ static void *deinterlace_init_plugin(xine_t *xine, void *);
/* plugin catalog information */
static const post_info_t deinterlace_special_info = { XINE_POST_TYPE_VIDEO_FILTER };
-const plugin_info_t xine_plugin_info[] = {
+const plugin_info_t xine_plugin_info[] EXPORTED = {
/* type, API, "name", version, special_info, init_function */
{ PLUGIN_POST | PLUGIN_MUST_PRELOAD, 9, "tvtime", XINE_VERSION_CODE, &deinterlace_special_info, &deinterlace_init_plugin },
{ PLUGIN_NONE, 0, "", 0, NULL, NULL }
diff --git a/src/post/goom/Makefile.am b/src/post/goom/Makefile.am
index 3fd80e8a7..5905c16cf 100644
--- a/src/post/goom/Makefile.am
+++ b/src/post/goom/Makefile.am
@@ -29,7 +29,8 @@ xineplug_post_goom_la_SOURCES = $(extra_files) xine_goom.c \
goomsl_lex.c goomsl_yacc.c graphic.c ifs.c lines.c \
plugin_info.c sound_tester.c surf3d.c tentacle3d.c v3d.c
xineplug_post_goom_la_LIBADD = $(XINE_LIB) $(GOOM_LIBS) $(THREAD_LIBS)
-xineplug_post_goom_la_LDFLAGS = -avoid-version -module $(XINE_PLUGIN_MIN_SYMS)
+xineplug_post_goom_la_CFLAGS = $(VISIBILITY_FLAG)
+xineplug_post_goom_la_LDFLAGS = -avoid-version -module
noinst_HEADERS = cpu_info.h default_scripts.h drawmethods.h gfontlib.h goom.h \
goom_config.h goom_config_param.h goom_filters.h goom_fx.h goom_graphic.h \
diff --git a/src/post/goom/xine_goom.c b/src/post/goom/xine_goom.c
index c9cfb69a0..91667c43d 100644
--- a/src/post/goom/xine_goom.c
+++ b/src/post/goom/xine_goom.c
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: xine_goom.c,v 1.61 2006/06/02 22:13:45 dsalt Exp $
+ * $Id: xine_goom.c,v 1.62 2006/07/10 22:08:44 dgp85 Exp $
*
* GOOM post plugin.
*
@@ -112,7 +112,7 @@ static const post_info_t goom_special_info = {
XINE_POST_TYPE_AUDIO_VISUALIZATION
};
-const plugin_info_t xine_plugin_info[] = {
+const plugin_info_t xine_plugin_info[] EXPORTED = {
/* type, API, "name", version, special_info, init_function */
{ PLUGIN_POST | PLUGIN_MUST_PRELOAD, 9, "goom", XINE_VERSION_CODE, &goom_special_info, &goom_init_plugin },
{ PLUGIN_NONE, 0, "", 0, NULL, NULL }
diff --git a/src/post/mosaico/Makefile.am b/src/post/mosaico/Makefile.am
index 2f3a9bc8a..aefb290c6 100644
--- a/src/post/mosaico/Makefile.am
+++ b/src/post/mosaico/Makefile.am
@@ -6,8 +6,10 @@ lib_LTLIBRARIES = xineplug_post_mosaico.la xineplug_post_switch.la
xineplug_post_mosaico_la_SOURCES = mosaico.c
xineplug_post_mosaico_la_LIBADD = $(XINE_LIB) $(THREAD_LIBS)
-xineplug_post_mosaico_la_LDFLAGS = -avoid-version -module @XINE_PLUGIN_MIN_SYMS@
+xineplug_post_mosaico_la_CFLAGS = $(VISIBILITY_FLAG)
+xineplug_post_mosaico_la_LDFLAGS = -avoid-version -module
xineplug_post_switch_la_SOURCES = switch.c
xineplug_post_switch_la_LIBADD = $(XINE_LIB) $(THREAD_LIBS)
-xineplug_post_switch_la_LDFLAGS = -avoid-version -module @XINE_PLUGIN_MIN_SYMS@
+xineplug_post_switch_la_CFLAGS = $(VISIBILITY_FLAG)
+xineplug_post_switch_la_LDFLAGS = -avoid-version -module
diff --git a/src/post/mosaico/mosaico.c b/src/post/mosaico/mosaico.c
index 9689e3137..40173bd5d 100644
--- a/src/post/mosaico/mosaico.c
+++ b/src/post/mosaico/mosaico.c
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: mosaico.c,v 1.27 2006/06/02 22:18:58 dsalt Exp $
+ * $Id: mosaico.c,v 1.28 2006/07/10 22:08:44 dgp85 Exp $
*/
/*
@@ -41,7 +41,7 @@ static void *mosaico_init_plugin(xine_t *xine, void *);
/* plugin catalog information */
static const post_info_t mosaico_special_info = { XINE_POST_TYPE_VIDEO_COMPOSE };
-const plugin_info_t xine_plugin_info[] = {
+const plugin_info_t xine_plugin_info[] EXPORTED = {
/* type, API, "name", version, special_info, init_function */
{ PLUGIN_POST, 9, "mosaico", XINE_VERSION_CODE, &mosaico_special_info, &mosaico_init_plugin },
{ PLUGIN_NONE, 0, "", 0, NULL, NULL }
diff --git a/src/post/mosaico/switch.c b/src/post/mosaico/switch.c
index 48a5bf561..38bd98a66 100644
--- a/src/post/mosaico/switch.c
+++ b/src/post/mosaico/switch.c
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: switch.c,v 1.17 2006/06/02 22:18:58 dsalt Exp $
+ * $Id: switch.c,v 1.18 2006/07/10 22:08:44 dgp85 Exp $
*/
/*
@@ -41,7 +41,7 @@ static void *switch_init_plugin(xine_t *xine, void *);
/* plugin catalog information */
static const post_info_t switch_special_info = { XINE_POST_TYPE_VIDEO_COMPOSE };
-const plugin_info_t xine_plugin_info[] = {
+const plugin_info_t xine_plugin_info[] EXPORTED = {
/* type, API, "name", version, special_info, init_function */
{ PLUGIN_POST, 9, "switch", XINE_VERSION_CODE, &switch_special_info, &switch_init_plugin },
{ PLUGIN_NONE, 0, "", 0, NULL, NULL }
diff --git a/src/post/planar/Makefile.am b/src/post/planar/Makefile.am
index d4f50320b..a79ed835b 100644
--- a/src/post/planar/Makefile.am
+++ b/src/post/planar/Makefile.am
@@ -24,7 +24,8 @@ xineplug_post_planar_la_SOURCES = planar.c invert.c expand.c fill.c boxblur.c \
xineplug_post_planar_la_DEPENDENCIES = $(postproc_dep)
xineplug_post_planar_la_LIBADD = $(XINE_LIB) $(postproc_lib) -lm $(THREAD_LIBS)
xineplug_post_planar_la_LDFLAGS = -avoid-version -module \
- @XINE_PLUGIN_MIN_SYMS@ @IMPURE_TEXT_LDFLAGS@
+ @IMPURE_TEXT_LDFLAGS@
+xineplug_post_planar_la_CFLAGS = $(VISIBILITY_FLAG)
$(POSTPROC_INT_LIB):
cd $(top_builddir)/src/libffmpeg/libavcodec/libpostproc && $(MAKE) libpostprocess.la
diff --git a/src/post/planar/planar.c b/src/post/planar/planar.c
index 97bb06c66..5f4363e2f 100644
--- a/src/post/planar/planar.c
+++ b/src/post/planar/planar.c
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: planar.c,v 1.12 2006/06/02 22:18:58 dsalt Exp $
+ * $Id: planar.c,v 1.13 2006/07/10 22:08:44 dgp85 Exp $
*
* catalog for planar post plugins
*/
@@ -56,7 +56,7 @@ static const post_info_t pp_special_info = { XINE_POST_TYPE_VIDEO_FILTER };
extern void *noise_init_plugin(xine_t *xine, void *);
static const post_info_t noise_special_info = { XINE_POST_TYPE_VIDEO_FILTER };
-const plugin_info_t xine_plugin_info[] = {
+const plugin_info_t xine_plugin_info[] EXPORTED = {
/* type, API, "name", version, special_info, init_function */
{ PLUGIN_POST, 9, "expand", XINE_VERSION_CODE, &expand_special_info, &expand_init_plugin },
{ PLUGIN_POST, 9, "fill", XINE_VERSION_CODE, &fill_special_info, &fill_init_plugin },
diff --git a/src/post/visualizations/Makefile.am b/src/post/visualizations/Makefile.am
index 055d0eb32..8891b1c53 100644
--- a/src/post/visualizations/Makefile.am
+++ b/src/post/visualizations/Makefile.am
@@ -8,7 +8,8 @@ lib_LTLIBRARIES = xineplug_post_visualizations.la
xineplug_post_visualizations_la_SOURCES = \
visualizations.c fft.c fftscope.c oscope.c fftgraph.c
-xineplug_post_visualizations_la_LIBADD = $(XINE_LIB) $(THREAD_LIBS)
-xineplug_post_visualizations_la_LDFLAGS = -avoid-version -module @XINE_PLUGIN_MIN_SYMS@ -lm
+xineplug_post_visualizations_la_LIBADD = $(XINE_LIB) $(THREAD_LIBS) -lm
+xineplug_post_visualizations_la_CFLAGS = $(VISIBILITY_FLAG)
+xineplug_post_visualizations_la_LDFLAGS = -avoid-version -module
noinst_HEADERS = fft.h visualizations.h
diff --git a/src/post/visualizations/fooviz.c b/src/post/visualizations/fooviz.c
index b972ac329..8d1e84150 100644
--- a/src/post/visualizations/fooviz.c
+++ b/src/post/visualizations/fooviz.c
@@ -23,7 +23,7 @@
* process. It simply paints the screen a solid color and rotates through
* colors on each iteration.
*
- * $Id: fooviz.c,v 1.26 2006/06/02 22:18:58 dsalt Exp $
+ * $Id: fooviz.c,v 1.27 2006/07/10 22:08:44 dgp85 Exp $
*
*/
@@ -315,7 +315,7 @@ static void *fooviz_init_plugin(xine_t *xine, void *data)
/* plugin catalog information */
static const post_info_t fooviz_special_info = { XINE_POST_TYPE_AUDIO_VISUALIZATION };
-const plugin_info_t xine_plugin_info[] = {
+const plugin_info_t xine_plugin_info[] EXPORTED = {
/* type, API, "name", version, special_info, init_function */
{ PLUGIN_POST, 9, "fooviz", XINE_VERSION_CODE, &fooviz_special_info, &fooviz_init_plugin },
{ PLUGIN_NONE, 0, "", 0, NULL, NULL }
diff --git a/src/post/visualizations/visualizations.c b/src/post/visualizations/visualizations.c
index cd1af3eff..befd8ca4c 100644
--- a/src/post/visualizations/visualizations.c
+++ b/src/post/visualizations/visualizations.c
@@ -19,7 +19,7 @@
*
* This file contains plugin entries for several visualization post plugins.
*
- * $Id: visualizations.c,v 1.13 2006/06/02 22:18:58 dsalt Exp $
+ * $Id: visualizations.c,v 1.14 2006/07/10 22:08:44 dgp85 Exp $
*/
#ifdef HAVE_CONFIG_H
@@ -46,7 +46,7 @@ static const post_info_t fftscope_special_info = { XINE_POST_TYPE_AUDIO_VISUALIZ
static const post_info_t fftgraph_special_info = { XINE_POST_TYPE_AUDIO_VISUALIZATION };
-const plugin_info_t xine_plugin_info[] = {
+const plugin_info_t xine_plugin_info[] EXPORTED = {
/* type, API, "name", version, special_info, init_function */
{ PLUGIN_POST, 9, "oscope", XINE_VERSION_CODE, &oscope_special_info, &oscope_init_plugin },
{ PLUGIN_POST, 9, "fftscope", XINE_VERSION_CODE, &fftscope_special_info, &fftscope_init_plugin },
diff --git a/src/video_out/Makefile.am b/src/video_out/Makefile.am
index 5c45a7a18..58f7db0cf 100644
--- a/src/video_out/Makefile.am
+++ b/src/video_out/Makefile.am
@@ -1,5 +1,6 @@
include $(top_srcdir)/misc/Makefile.common
+AM_CPPFLAGS = -DXINE_COMPILE
SUBDIRS = libdha vidix macosx
@@ -8,16 +9,10 @@ EXTRA_DIST = video_out_directfb.c video_out_directx.c video_out_macosx.m
VIDIX_CFLAGS = -I$(top_builddir)/src/video_out/vidix \
-I$(top_srcdir)/src/video_out/vidix
-AM_CFLAGS = $(X_CFLAGS) -DXINE_COMPILE \
- $(SUNDGA_CFLAGS) $(SDL_CFLAGS) $(VIDIX_CFLAGS) \
- $(AALIB_CFLAGS) $(MLIB_CFLAGS) $(LIBSTK_CFLAGS) \
- $(DIRECTFB_CFLAGS) $(CACA_CFLAGS) $(X11OSD_STRICT_ALIASING)
-
libdir = $(XINE_PLUGINDIR)
if HAVE_X11
X11OSD = x11osd.c
-X11OSD_STRICT_ALIASING = -fno-strict-aliasing
xshm_module = xineplug_vo_out_xshm.la
if HAVE_XV
xv_module = xineplug_vo_out_xv.la
@@ -96,87 +91,105 @@ lib_LTLIBRARIES = $(xshm_module) $(xv_module) $(xvmc_module) \
xineplug_vo_out_xshm_la_SOURCES = yuv2rgb.c yuv2rgb_mmx.c yuv2rgb_mlib.c \
video_out_xshm.c $(X11OSD)
xineplug_vo_out_xshm_la_LIBADD = $(MLIB_LIBS) $(X_LIBS) -lXext $(X_PRE_LIBS) -lX11 $(XINE_LIB) $(THREAD_LIBS)
-xineplug_vo_out_xshm_la_LDFLAGS = -avoid-version -module @XINE_PLUGIN_MIN_SYMS@
+xineplug_vo_out_xshm_la_CFLAGS = $(VISIBILITY_FLAG) $(X_CFLAGS) $(MLIB_CFLAGS) -fno-strict-aliasing
+xineplug_vo_out_xshm_la_LDFLAGS = -avoid-version -module
xineplug_vo_out_xv_la_SOURCES = $(X11OSD) deinterlace.c video_out_xv.c
xineplug_vo_out_xv_la_LIBADD = $(XV_LIB) $(X_LIBS) -lXext $(X_PRE_LIBS) -lX11 $(XINE_LIB) $(THREAD_LIBS)
-xineplug_vo_out_xv_la_LDFLAGS = -avoid-version -module @XINE_PLUGIN_MIN_SYMS@
+xineplug_vo_out_xv_la_CFLAGS = $(VISIBILITY_FLAG) $(X_CFLAGS) -fno-strict-aliasing
+xineplug_vo_out_xv_la_LDFLAGS = -avoid-version -module
xineplug_vo_out_xvmc_la_SOURCES = deinterlace.c video_out_xvmc.c
xineplug_vo_out_xvmc_la_LIBADD = $(XVMC_LIB) $(XV_LIB) $(X_LIBS) -lXext $(X_PRE_LIBS) -lX11 $(XINE_LIB) $(THREAD_LIBS)
-xineplug_vo_out_xvmc_la_LDFLAGS = -avoid-version -module @XINE_PLUGIN_MIN_SYMS@
+xineplug_vo_out_xvmc_la_CFLAGS = $(VISIBILITY_FLAG) $(X_CFLAGS)
+xineplug_vo_out_xvmc_la_LDFLAGS = -avoid-version -module
xineplug_vo_out_xxmc_la_SOURCES = $(X11OSD) deinterlace.c video_out_xxmc.c\
xvmc_mocomp.c xvmc_vld.c xxmc.h
xineplug_vo_out_xxmc_la_LIBADD = $(XXMC_LIB) $(XV_LIB) $(X_LIBS) -lXext $(X_PRE_LIBS) -lX11 $(XINE_LIB) $(THREAD_LIBS)
-xineplug_vo_out_xxmc_la_LDFLAGS = -avoid-version -module @XINE_PLUGIN_MIN_SYMS@
+xineplug_vo_out_xxmc_la_CFLAGS = $(VISIBILITY_FLAG) $(X_CFLAGS) -fno-strict-aliasing
+xineplug_vo_out_xxmc_la_LDFLAGS = -avoid-version -module
xineplug_vo_out_opengl_la_SOURCES = yuv2rgb.c yuv2rgb_mmx.c yuv2rgb_mlib.c \
video_out_opengl.c myglext.h $(X11OSD)
xineplug_vo_out_opengl_la_LIBADD = $(MLIB_LIBS) $(OPENGL_LIBS) $(GLUT_LIBS) \
$(GLU_LIBS) $(X_LIBS) -lXext $(X_PRE_LIBS) -lX11 $(XINE_LIB) $(THREAD_LIBS)
-xineplug_vo_out_opengl_la_LDFLAGS = -avoid-version -module @XINE_PLUGIN_MIN_SYMS@
+xineplug_vo_out_opengl_la_CFLAGS = $(VISIBILITY_FLAG) $(X_CFLAGS) $(MLIB_CFLAGS) -fno-strict-aliasing
+xineplug_vo_out_opengl_la_LDFLAGS = -avoid-version -module
xineplug_vo_out_syncfb_la_SOURCES = video_out_syncfb.c
xineplug_vo_out_syncfb_la_LIBADD = $(X_LIBS) $(XINE_LIB) $(THREAD_LIBS)
-xineplug_vo_out_syncfb_la_LDFLAGS = -avoid-version -module @XINE_PLUGIN_MIN_SYMS@
+xineplug_vo_out_syncfb_la_CFLAGS = $(VISIBILITY_FLAG)
+xineplug_vo_out_syncfb_la_LDFLAGS = -avoid-version -module
xineplug_vo_out_pgx64_la_SOURCES = video_out_pgx64.c
xineplug_vo_out_pgx64_la_LIBADD = $(X_LIBS) $(SUNDGA_LIBS) $(THREAD_LIBS)
-xineplug_vo_out_pgx64_la_LDFLAGS = -avoid-version -module @XINE_PLUGIN_MIN_SYMS@
+xineplug_vo_out_pgx64_la_CFLAGS = $(VISIBILITY_FLAG)
+xineplug_vo_out_pgx64_la_LDFLAGS = -avoid-version -module
xineplug_vo_out_pgx32_la_SOURCES = video_out_pgx32.c
xineplug_vo_out_pgx32_la_LIBADD = $(X_LIBS) $(SUNDGA_LIBS) $(THREAD_LIBS)
-xineplug_vo_out_pgx32_la_LDFLAGS = -avoid-version -module @XINE_PLUGIN_MIN_SYMS@
+xineplug_vo_out_pgx32_la_CFLAGS = $(VISIBILITY_FLAG)
+xineplug_vo_out_pgx32_la_LDFLAGS = -avoid-version -module
xineplug_vo_out_vidix_la_SOURCES = video_out_vidix.c $(X11OSD)
xineplug_vo_out_vidix_la_LIBADD = $(X_LIBS) \
$(top_builddir)/src/video_out/vidix/libvidix.la \
$(top_builddir)/src/video_out/libdha/libdha.la $(THREAD_LIBS)
-xineplug_vo_out_vidix_la_LDFLAGS = -avoid-version -module @XINE_PLUGIN_MIN_SYMS@
+xineplug_vo_out_vidix_la_CFLAGS = $(VISIBILITY_FLAG) $(VIDIX_CFLAGS) -fno-strict-aliasing
+xineplug_vo_out_vidix_la_LDFLAGS = -avoid-version -module
xineplug_vo_out_aa_la_SOURCES = video_out_aa.c
xineplug_vo_out_aa_la_LIBADD = $(AALIB_LIBS) $(THREAD_LIBS)
-xineplug_vo_out_aa_la_LDFLAGS = -avoid-version -module @XINE_PLUGIN_MIN_SYMS@
+xineplug_vo_out_aa_la_CFLAGS = $(VISIBILITY_FLAG) $(AALIB_CFLAGS)
+xineplug_vo_out_aa_la_LDFLAGS = -avoid-version -module
xineplug_vo_out_caca_la_SOURCES = yuv2rgb.c yuv2rgb_mmx.c yuv2rgb_mlib.c \
video_out_caca.c
xineplug_vo_out_caca_la_LIBADD = $(CACA_LIBS) $(THREAD_LIBS)
-xineplug_vo_out_caca_la_LDFLAGS = -avoid-version -module @XINE_PLUGIN_MIN_SYMS@
+xineplug_vo_out_caca_la_CFLAGS = $(VISIBILITY_FLAG) $(CACA_CFLAGS)
+xineplug_vo_out_caca_la_LDFLAGS = -avoid-version -module
xineplug_vo_out_fb_la_SOURCES = yuv2rgb.c yuv2rgb_mmx.c yuv2rgb_mlib.c \
video_out_fb.c
xineplug_vo_out_fb_la_LIBADD = $(MLIB_LIBS) $(XINE_LIB) $(THREAD_LIBS)
-xineplug_vo_out_fb_la_LDFLAGS = -avoid-version -module @XINE_PLUGIN_MIN_SYMS@
+xineplug_vo_out_fb_la_CFLAGS = $(VISIBILITY_FLAG) $(MLIB_CFLAGS)
+xineplug_vo_out_fb_la_LDFLAGS = -avoid-version -module
xineplug_vo_out_directfb_la_SOURCES = video_out_directfb.c $(X11OSD)
xineplug_vo_out_directfb_la_LIBADD = $(DIRECTFB_LIBS) $(X_LIBS) $(THREAD_LIBS)
-xineplug_vo_out_directfb_la_LDFLAGS = -avoid-version -module @XINE_PLUGIN_MIN_SYMS@
+xineplug_vo_out_directfb_la_CFLAGS = $(VISIBILITY_FLAG) $(DIRECTFB_CFLAGS) -fno-strict-aliasing
+xineplug_vo_out_directfb_la_LDFLAGS = -avoid-version -module
xineplug_vo_out_sdl_la_SOURCES = video_out_sdl.c
xineplug_vo_out_sdl_la_LIBADD = $(SDL_LIBS) $(XINE_LIB) $(THREAD_LIBS)
-xineplug_vo_out_sdl_la_LDFLAGS = -avoid-version -module @XINE_PLUGIN_MIN_SYMS@
+xineplug_vo_out_sdl_la_CFLAGS = $(VISIBILITY_FLAG) $(SDL_CFLAGS)
+xineplug_vo_out_sdl_la_LDFLAGS = -avoid-version -module
xineplug_vo_out_stk_la_SOURCES = video_out_stk.c
xineplug_vo_out_stk_la_LIBADD = $(LIBSTK_LIBS) $(THREAD_LIBS)
-xineplug_vo_out_stk_la_LDFLAGS = -avoid-version -module @XINE_PLUGIN_MIN_SYMS@
+xineplug_vo_out_stk_la_CFLAGS = $(VISIBILITY_FLAG) $(LIBSTK_CFLAGS)
+xineplug_vo_out_stk_la_LDFLAGS = -avoid-version -module
xineplug_vo_out_directx_la_SOURCES = yuv2rgb.c yuv2rgb_mmx.c video_out_directx.c
xineplug_vo_out_directx_la_CPPFLAGS = $(DIRECTX_CPPFLAGS)
xineplug_vo_out_directx_la_LIBADD = $(DIRECTX_VIDEO_LIBS) $(XINE_LIB) $(THREAD_LIBS)
-xineplug_vo_out_directx_la_LDFLAGS = -avoid-version -module @XINE_PLUGIN_MIN_SYMS@
+xineplug_vo_out_directx_la_CFLAGS = $(VISIBILITY_FLAG)
+xineplug_vo_out_directx_la_LDFLAGS = -avoid-version -module
xineplug_vo_out_none_la_SOURCES = video_out_none.c
xineplug_vo_out_none_la_LIBADD = $(XINE_LIB) $(THREAD_LIBS)
-xineplug_vo_out_none_la_LDFLAGS = -avoid-version -module @XINE_PLUGIN_MIN_SYMS@
+xineplug_vo_out_none_la_CFLAGS = $(VISIBILITY_FLAG)
+xineplug_vo_out_none_la_LDFLAGS = -avoid-version -module
xineplug_vo_out_macosx_la_SOURCES = video_out_macosx.m
xineplug_vo_out_macosx_la_CPPFLAGS = $(X_CFLAGS) $(MLIB_CFLAGS)
+xineplug_vo_out_macosx_la_CFLAGS = $(VISIBILITY_FLAG)
xineplug_vo_out_macosx_la_LIBADD = $(MLIB_LIBS) $(OPENGL_LIBS) $(GLUT_LIBS) \
$(GLU_LIBS) $(X_LIBS) $(XINE_LIB) $(THREAD_LIBS)
# The "-Wl,-framework -Wl,Cocoa" is needed for libtool versions before
# 1.5.x (1.257): the default version that ships with Mac OS X is 1.5 (1.1220)
-xineplug_vo_out_macosx_la_LDFLAGS = -avoid-version -module @XINE_PLUGIN_MIN_SYMS@ \
+xineplug_vo_out_macosx_la_LDFLAGS = -avoid-version -module \
-Wl,-framework -Wl,Cocoa -framework Cocoa -framework OpenGL
noinst_HEADERS = deinterlace.h video_out_syncfb.h \
diff --git a/src/video_out/video_out_aa.c b/src/video_out/video_out_aa.c
index 14f051e4e..f5fd8ef38 100644
--- a/src/video_out/video_out_aa.c
+++ b/src/video_out/video_out_aa.c
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: video_out_aa.c,v 1.48 2006/06/02 22:18:58 dsalt Exp $
+ * $Id: video_out_aa.c,v 1.49 2006/07/10 22:08:44 dgp85 Exp $
*
* video_out_aa.c, ascii-art output plugin for xine
*
@@ -337,7 +337,7 @@ static const vo_info_t vo_info_aa = {
XINE_VISUAL_TYPE_AA
};
-const plugin_info_t xine_plugin_info[] = {
+const plugin_info_t xine_plugin_info[] EXPORTED = {
/* type, API, "name", version, special_info, init_function */
{ PLUGIN_VIDEO_OUT, 21, "aa", XINE_VERSION_CODE, &vo_info_aa, init_class },
{ PLUGIN_NONE, 0, "", 0, NULL, NULL }
diff --git a/src/video_out/video_out_caca.c b/src/video_out/video_out_caca.c
index 9b22bd254..d1e33fa4b 100644
--- a/src/video_out/video_out_caca.c
+++ b/src/video_out/video_out_caca.c
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: video_out_caca.c,v 1.7 2006/06/02 22:18:58 dsalt Exp $
+ * $Id: video_out_caca.c,v 1.8 2006/07/10 22:08:44 dgp85 Exp $
*
* video_out_caca.c, Color AsCii Art output plugin for xine
*
@@ -338,7 +338,7 @@ static const vo_info_t vo_info_caca = {
XINE_VISUAL_TYPE_CACA
};
-const plugin_info_t xine_plugin_info[] = {
+const plugin_info_t xine_plugin_info[] EXPORTED = {
/* type, API, "name", version, special_info, init_function */
{ PLUGIN_VIDEO_OUT, 21, "caca", XINE_VERSION_CODE, &vo_info_caca, init_class },
{ PLUGIN_NONE, 0, "", 0, NULL, NULL }
diff --git a/src/video_out/video_out_directfb.c b/src/video_out/video_out_directfb.c
index 50a2b94ab..6f3758a8c 100644
--- a/src/video_out/video_out_directfb.c
+++ b/src/video_out/video_out_directfb.c
@@ -2079,7 +2079,7 @@ static const vo_info_t vo_info_directfb_x11 = {
/*********/
-const plugin_info_t xine_plugin_info[] = {
+const plugin_info_t xine_plugin_info[] EXPORTED = {
/* type, API, "name", version, special_info, init_function */
{ PLUGIN_VIDEO_OUT, VIDEO_OUT_DRIVER_IFACE_VERSION, "DirectFB",
XINE_VERSION_CODE, &vo_info_directfb_fb, init_class_fb },
diff --git a/src/video_out/video_out_directx.c b/src/video_out/video_out_directx.c
index eef587aab..7c3e5a78c 100755
--- a/src/video_out/video_out_directx.c
+++ b/src/video_out/video_out_directx.c
@@ -20,7 +20,7 @@
* video_out_directx.c, direct draw video output plugin for xine
* by Matthew Grooms <elon@altavista.com>
*
- * $Id: video_out_directx.c,v 1.30 2006/06/02 22:18:58 dsalt Exp $
+ * $Id: video_out_directx.c,v 1.31 2006/07/10 22:08:44 dgp85 Exp $
*/
typedef unsigned char boolean;
@@ -1273,7 +1273,7 @@ static const vo_info_t vo_info_win32 = {
* exported plugin catalog entry
*/
-const plugin_info_t xine_plugin_info[] = {
+const plugin_info_t xine_plugin_info[] EXPORTED = {
/* type, API, "name", version, special_info, init_function */
{ PLUGIN_VIDEO_OUT, 21, "vo_directx", XINE_VERSION_CODE, &vo_info_win32, init_class },
{ PLUGIN_NONE, 0, "", 0, NULL, NULL }
diff --git a/src/video_out/video_out_fb.c b/src/video_out/video_out_fb.c
index cfcaba890..808092a03 100644
--- a/src/video_out/video_out_fb.c
+++ b/src/video_out/video_out_fb.c
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: video_out_fb.c,v 1.47 2006/06/02 22:18:58 dsalt Exp $
+ * $Id: video_out_fb.c,v 1.48 2006/07/10 22:08:44 dgp85 Exp $
*
* video_out_fb.c, frame buffer xine driver by Miguel Freitas
*
@@ -1133,7 +1133,7 @@ static const vo_info_t vo_info_fb =
};
/* exported plugin catalog entry */
-const plugin_info_t xine_plugin_info[] = {
+const plugin_info_t xine_plugin_info[] EXPORTED = {
/* type, API, "name", version, special_info, init_function */
{ PLUGIN_VIDEO_OUT, 21, "fb", XINE_VERSION_CODE, &vo_info_fb, fb_init_class },
{ PLUGIN_NONE, 0, "", 0, NULL, NULL }
diff --git a/src/video_out/video_out_none.c b/src/video_out/video_out_none.c
index 5b516117e..8f1ee3968 100644
--- a/src/video_out/video_out_none.c
+++ b/src/video_out/video_out_none.c
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: video_out_none.c,v 1.26 2006/06/02 22:18:58 dsalt Exp $
+ * $Id: video_out_none.c,v 1.27 2006/07/10 22:08:44 dgp85 Exp $
*
* Was originally part of toxine frontend.
* ...but has now been adapted to xine coding style standards ;)
@@ -306,7 +306,7 @@ static const vo_info_t vo_info_none = {
XINE_VISUAL_TYPE_NONE /* Visual type */
};
-const plugin_info_t xine_plugin_info[] = {
+const plugin_info_t xine_plugin_info[] EXPORTED = {
/* type, API, "name", version, special_info, init_function */
{ PLUGIN_VIDEO_OUT, 21, "none", XINE_VERSION_CODE, &vo_info_none, init_class },
{ PLUGIN_NONE, 0, "", 0, NULL, NULL }
diff --git a/src/video_out/video_out_opengl.c b/src/video_out/video_out_opengl.c
index 1936c0455..b85bd3ccf 100644
--- a/src/video_out/video_out_opengl.c
+++ b/src/video_out/video_out_opengl.c
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: video_out_opengl.c,v 1.58 2006/06/20 01:07:58 dgp85 Exp $
+ * $Id: video_out_opengl.c,v 1.59 2006/07/10 22:08:44 dgp85 Exp $
*
* video_out_opengl.c, OpenGL based interface for xine
*
@@ -1995,7 +1995,7 @@ static const vo_info_t vo_info_opengl = {
* exported plugin catalog entry
*/
-const plugin_info_t xine_plugin_info[] = {
+const plugin_info_t xine_plugin_info[] EXPORTED = {
/* type, API, "name", version, special_info, init_function */
{ PLUGIN_VIDEO_OUT, 21, "opengl", XINE_VERSION_CODE, &vo_info_opengl, opengl_init_class },
{ PLUGIN_NONE, 0, "", 0, NULL, NULL }
diff --git a/src/video_out/video_out_pgx32.c b/src/video_out/video_out_pgx32.c
index 6e9a581b9..2c18a3d77 100644
--- a/src/video_out/video_out_pgx32.c
+++ b/src/video_out/video_out_pgx32.c
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: video_out_pgx32.c,v 1.16 2006/06/02 22:18:58 dsalt Exp $
+ * $Id: video_out_pgx32.c,v 1.17 2006/07/10 22:08:44 dgp85 Exp $
*
* video_out_pgx32.c, Sun PGX32 output plugin for xine
*
@@ -890,7 +890,7 @@ static void *pgx32_init_class(xine_t *xine, void *visual_gen)
return class;
}
-const plugin_info_t xine_plugin_info[] = {
+const plugin_info_t xine_plugin_info[] EXPORTED = {
{PLUGIN_VIDEO_OUT, 21, "pgx32", XINE_VERSION_CODE, &vo_info_pgx32, pgx32_init_class},
{PLUGIN_NONE, 0, "", 0, NULL, NULL}
};
diff --git a/src/video_out/video_out_pgx64.c b/src/video_out/video_out_pgx64.c
index b242a83cc..1474c4354 100644
--- a/src/video_out/video_out_pgx64.c
+++ b/src/video_out/video_out_pgx64.c
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: video_out_pgx64.c,v 1.77 2006/06/02 22:18:58 dsalt Exp $
+ * $Id: video_out_pgx64.c,v 1.78 2006/07/10 22:08:44 dgp85 Exp $
*
* video_out_pgx64.c, Sun XVR100/PGX64/PGX24 output plugin for xine
*
@@ -1514,7 +1514,7 @@ static void *pgx64_init_class(xine_t *xine, void *visual_gen)
return class;
}
-const plugin_info_t xine_plugin_info[] = {
+const plugin_info_t xine_plugin_info[] EXPORTED = {
{PLUGIN_VIDEO_OUT, 21, "pgx64", XINE_VERSION_CODE, &vo_info_pgx64, pgx64_init_class},
{PLUGIN_NONE, 0, "", 0, NULL, NULL}
};
diff --git a/src/video_out/video_out_sdl.c b/src/video_out/video_out_sdl.c
index f6272a2c2..77496b59b 100644
--- a/src/video_out/video_out_sdl.c
+++ b/src/video_out/video_out_sdl.c
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: video_out_sdl.c,v 1.47 2006/06/02 22:18:58 dsalt Exp $
+ * $Id: video_out_sdl.c,v 1.48 2006/07/10 22:08:44 dgp85 Exp $
*
* video_out_sdl.c, Simple DirectMedia Layer
*
@@ -608,7 +608,7 @@ static const vo_info_t vo_info_sdl = {
XINE_VISUAL_TYPE_X11, /* visual type supported by this plugin */
};
-const plugin_info_t xine_plugin_info[] = {
+const plugin_info_t xine_plugin_info[] EXPORTED = {
/* type, API, "name", version, special_info, init_function */
{ PLUGIN_VIDEO_OUT, 21, "sdl", XINE_VERSION_CODE, &vo_info_sdl, init_class },
{ PLUGIN_NONE, 0, "" , 0 , NULL, NULL}
diff --git a/src/video_out/video_out_stk.c b/src/video_out/video_out_stk.c
index 2d5e5a8dc..2e5708874 100644
--- a/src/video_out/video_out_stk.c
+++ b/src/video_out/video_out_stk.c
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: video_out_stk.c,v 1.18 2006/06/02 22:18:59 dsalt Exp $
+ * $Id: video_out_stk.c,v 1.19 2006/07/10 22:08:44 dgp85 Exp $
*
* video_out_stk.c, Libstk Surface Video Driver
* more info on Libstk at http://www.libstk.org
@@ -484,7 +484,7 @@ static const vo_info_t vo_info_stk = {
XINE_VISUAL_TYPE_FB, /* visual type supported by this plugin */
};
-const plugin_info_t xine_plugin_info[] = {
+const plugin_info_t xine_plugin_info[] EXPORTED = {
/* type, API, "name", version, special_info, init_function */
{ PLUGIN_VIDEO_OUT, 21, "stk", XINE_VERSION_CODE, &vo_info_stk, init_class },
{ PLUGIN_NONE, 0, "" , 0 , NULL, NULL}
diff --git a/src/video_out/video_out_syncfb.c b/src/video_out/video_out_syncfb.c
index 5db2ffc40..206c097b8 100644
--- a/src/video_out/video_out_syncfb.c
+++ b/src/video_out/video_out_syncfb.c
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: video_out_syncfb.c,v 1.104 2006/06/02 22:18:59 dsalt Exp $
+ * $Id: video_out_syncfb.c,v 1.105 2006/07/10 22:08:44 dgp85 Exp $
*
* video_out_syncfb.c, SyncFB (for Matrox G200/G400 cards) interface for xine
*
@@ -1115,7 +1115,7 @@ static const vo_info_t vo_info_syncfb = {
* exported plugin catalog entry
*/
-const plugin_info_t xine_plugin_info[] = {
+const plugin_info_t xine_plugin_info[] EXPORTED = {
/* type, API, "name", version, special_info, init_function */
{ PLUGIN_VIDEO_OUT, 21, "SyncFB", XINE_VERSION_CODE, &vo_info_syncfb, init_class },
{ PLUGIN_NONE, 0, "", 0, NULL, NULL }
diff --git a/src/video_out/video_out_vidix.c b/src/video_out/video_out_vidix.c
index 0ae796af4..188b5271a 100644
--- a/src/video_out/video_out_vidix.c
+++ b/src/video_out/video_out_vidix.c
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: video_out_vidix.c,v 1.73 2006/06/02 22:18:59 dsalt Exp $
+ * $Id: video_out_vidix.c,v 1.74 2006/07/10 22:08:44 dgp85 Exp $
*
* video_out_vidix.c
*
@@ -1310,7 +1310,7 @@ static const vo_info_t vo_info_vidixfb = {
* exported plugin catalog entry
*/
-const plugin_info_t xine_plugin_info[] = {
+const plugin_info_t xine_plugin_info[] EXPORTED = {
/* type, API, "name", version, special_info, init_function */
#ifdef HAVE_X11
{ PLUGIN_VIDEO_OUT, 21, "vidix", XINE_VERSION_CODE, &vo_info_vidix, vidix_init_class },
diff --git a/src/video_out/video_out_xshm.c b/src/video_out/video_out_xshm.c
index c2e6bd3bc..242400c28 100644
--- a/src/video_out/video_out_xshm.c
+++ b/src/video_out/video_out_xshm.c
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: video_out_xshm.c,v 1.145 2006/06/20 01:07:58 dgp85 Exp $
+ * $Id: video_out_xshm.c,v 1.146 2006/07/10 22:08:44 dgp85 Exp $
*
* video_out_xshm.c, X11 shared memory extension interface for xine
*
@@ -1299,7 +1299,7 @@ static const vo_info_t vo_info_xshm = {
* exported plugin catalog entry
*/
-const plugin_info_t xine_plugin_info[] = {
+const plugin_info_t xine_plugin_info[] EXPORTED = {
/* type, API, "name", version, special_info, init_function */
{ PLUGIN_VIDEO_OUT, 21, "xshm", XINE_VERSION_CODE, &vo_info_xshm, xshm_init_class },
{ PLUGIN_NONE, 0, "", 0, NULL, NULL }
diff --git a/src/video_out/video_out_xv.c b/src/video_out/video_out_xv.c
index 8623e8c03..1c4910573 100644
--- a/src/video_out/video_out_xv.c
+++ b/src/video_out/video_out_xv.c
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: video_out_xv.c,v 1.218 2006/06/02 22:18:59 dsalt Exp $
+ * $Id: video_out_xv.c,v 1.219 2006/07/10 22:08:44 dgp85 Exp $
*
* video_out_xv.c, X11 video extension interface for xine
*
@@ -1606,7 +1606,7 @@ static const vo_info_t vo_info_xv = {
* exported plugin catalog entry
*/
-const plugin_info_t xine_plugin_info[] = {
+const plugin_info_t xine_plugin_info[] EXPORTED = {
/* type, API, "name", version, special_info, init_function */
{ PLUGIN_VIDEO_OUT, 21, "xv", XINE_VERSION_CODE, &vo_info_xv, init_class },
{ PLUGIN_NONE, 0, "", 0, NULL, NULL }
diff --git a/src/video_out/video_out_xvmc.c b/src/video_out/video_out_xvmc.c
index 41c157a15..fd0299435 100644
--- a/src/video_out/video_out_xvmc.c
+++ b/src/video_out/video_out_xvmc.c
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: video_out_xvmc.c,v 1.27 2006/06/02 22:18:59 dsalt Exp $
+ * $Id: video_out_xvmc.c,v 1.28 2006/07/10 22:08:44 dgp85 Exp $
*
* video_out_xvmc.c, X11 video motion compensation extension interface for xine
*
@@ -1796,7 +1796,7 @@ static const vo_info_t vo_info_xvmc = {
* exported plugin catalog entry
*/
-const plugin_info_t xine_plugin_info[] = {
+const plugin_info_t xine_plugin_info[] EXPORTED = {
/* type, API, "name", version, special_info, init_function */
{ PLUGIN_VIDEO_OUT, 21, "xvmc", XINE_VERSION_CODE, &vo_info_xvmc, init_class },
{ PLUGIN_NONE, 0, "", 0, NULL, NULL }
diff --git a/src/video_out/video_out_xxmc.c b/src/video_out/video_out_xxmc.c
index 1e429e94a..4292ca0b6 100644
--- a/src/video_out/video_out_xxmc.c
+++ b/src/video_out/video_out_xxmc.c
@@ -18,7 +18,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: video_out_xxmc.c,v 1.21 2006/06/02 22:18:59 dsalt Exp $
+ * $Id: video_out_xxmc.c,v 1.22 2006/07/10 22:08:44 dgp85 Exp $
*
* video_out_xxmc.c, X11 decoding accelerated video extension interface for xine
*
@@ -2645,7 +2645,7 @@ static const vo_info_t vo_info_xxmc = {
* exported plugin catalog entry
*/
-const plugin_info_t xine_plugin_info[] = {
+const plugin_info_t xine_plugin_info[] EXPORTED = {
/* type, API, "name", version, special_info, init_function */
{ PLUGIN_VIDEO_OUT, 21, "xxmc", XINE_VERSION_CODE, &vo_info_xxmc, init_class },
{ PLUGIN_NONE, 0, "", 0, NULL, NULL }