diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/Makefile.am | 5 | ||||
-rw-r--r-- | src/audio_out/Makefile.am | 12 | ||||
-rw-r--r-- | src/audio_out/audio_alsa_out.c | 15 | ||||
-rw-r--r-- | src/combined/Makefile.am | 11 | ||||
-rw-r--r-- | src/combined/decoder_flac.c (renamed from src/libflac/decoder_flac.c) | 0 | ||||
-rw-r--r-- | src/combined/demux_flac.c (renamed from src/libflac/demux_flac.c) | 0 | ||||
-rw-r--r-- | src/combined/demux_flac.h (renamed from src/libflac/demux_flac.h) | 0 | ||||
-rw-r--r-- | src/dxr3/Makefile.am | 4 | ||||
-rw-r--r-- | src/input/Makefile.am | 4 | ||||
-rw-r--r-- | src/input/vcd/Makefile.am | 4 | ||||
-rw-r--r-- | src/liba52/Makefile.am | 8 | ||||
-rw-r--r-- | src/liba52/xine_a52_decoder.c (renamed from src/liba52/xine_decoder.c) | 0 | ||||
-rw-r--r-- | src/libdts/Makefile.am | 8 | ||||
-rw-r--r-- | src/libdts/xine_dts_decoder.c (renamed from src/libdts/xine_decoder.c) | 0 | ||||
-rw-r--r-- | src/libfaad/Makefile.am | 8 | ||||
-rw-r--r-- | src/libfaad/xine_faad_decoder.c (renamed from src/libfaad/xine_decoder.c) | 0 | ||||
-rw-r--r-- | src/libffmpeg/Makefile.am | 23 | ||||
-rw-r--r-- | src/libffmpeg/ff_audio_decoder.c (renamed from src/libffmpeg/audio_decoder.c) | 2 | ||||
-rw-r--r-- | src/libffmpeg/ff_dvaudio_decoder.c (renamed from src/libffmpeg/dvaudio_decoder.c) | 0 | ||||
-rw-r--r-- | src/libffmpeg/ff_mpeg_parser.c (renamed from src/libffmpeg/mpeg_parser.c) | 2 | ||||
-rw-r--r-- | src/libffmpeg/ff_mpeg_parser.h (renamed from src/libffmpeg/mpeg_parser.h) | 2 | ||||
-rw-r--r-- | src/libffmpeg/ff_video_decoder.c (renamed from src/libffmpeg/video_decoder.c) | 4 | ||||
-rw-r--r-- | src/libffmpeg/ffmpeg_decoder.c (renamed from src/libffmpeg/xine_decoder.c) | 2 | ||||
-rw-r--r-- | src/libffmpeg/ffmpeg_decoder.h (renamed from src/libffmpeg/xine_decoder.h) | 0 | ||||
-rw-r--r-- | src/libffmpeg/ffmpeg_encoder.c (renamed from src/libffmpeg/xine_encoder.c) | 0 | ||||
-rw-r--r-- | src/libflac/Makefile.am | 14 | ||||
-rw-r--r-- | src/liblpcm/Makefile.am | 10 | ||||
-rw-r--r-- | src/libmad/Makefile.am | 8 | ||||
-rw-r--r-- | src/libmad/xine_mad_decoder.c (renamed from src/libmad/xine_decoder.c) | 0 | ||||
-rw-r--r-- | src/libmpeg2/Makefile.am | 12 | ||||
-rw-r--r-- | src/libmpeg2/xine_mpeg2_decoder.c (renamed from src/libmpeg2/xine_decoder.c) | 0 | ||||
-rw-r--r-- | src/libmpeg2new/Makefile.am | 11 | ||||
-rw-r--r-- | src/libmpeg2new/xine_mpeg2new_decoder.c (renamed from src/libmpeg2new/xine_decoder.c) | 0 | ||||
-rw-r--r-- | src/libmusepack/Makefile.am | 9 | ||||
-rw-r--r-- | src/libmusepack/xine_musepack_decoder.c (renamed from src/libmusepack/xine_decoder.c) | 0 | ||||
-rw-r--r-- | src/libreal/Makefile.am | 2 | ||||
-rw-r--r-- | src/libreal/xine_real_audio_decoder.c (renamed from src/libreal/audio_decoder.c) | 0 | ||||
-rw-r--r-- | src/libreal/xine_real_video_decoder.c (renamed from src/libreal/xine_decoder.c) | 0 | ||||
-rw-r--r-- | src/libspeex/Makefile.am | 14 | ||||
-rw-r--r-- | src/libspucc/Makefile.am | 6 | ||||
-rw-r--r-- | src/libspucc/xine_cc_decoder.c (renamed from src/libspucc/xine_decoder.c) | 0 | ||||
-rw-r--r-- | src/libspucmml/Makefile.am | 8 | ||||
-rw-r--r-- | src/libspucmml/xine_cmml_decoder.c (renamed from src/libspucmml/xine_decoder.c) | 0 | ||||
-rw-r--r-- | src/libspudec/Makefile.am | 10 | ||||
-rw-r--r-- | src/libspudec/xine_spu_decoder.c (renamed from src/libspudec/xine_decoder.c) | 0 | ||||
-rw-r--r-- | src/libspudvb/Makefile.am | 8 | ||||
-rw-r--r-- | src/libspudvb/xine_spudvb_decoder.c (renamed from src/libspudvb/xine_decoder.c) | 0 | ||||
-rw-r--r-- | src/libsputext/Makefile.am | 10 | ||||
-rw-r--r-- | src/libsputext/xine_sputext_decoder.c (renamed from src/libsputext/xine_decoder.c) | 0 | ||||
-rw-r--r-- | src/libtheora/Makefile.am | 15 | ||||
-rw-r--r-- | src/libvorbis/Makefile.am | 14 | ||||
-rw-r--r-- | src/libw32dll/Makefile.am | 4 | ||||
-rw-r--r-- | src/libxineadec/Makefile.am | 41 | ||||
-rw-r--r-- | src/libxineadec/xine_lpcm_decoder.c (renamed from src/liblpcm/xine_decoder.c) | 0 | ||||
-rw-r--r-- | src/libxineadec/xine_speex_decoder.c (renamed from src/libspeex/xine_decoder.c) | 0 | ||||
-rw-r--r-- | src/libxineadec/xine_vorbis_decoder.c (renamed from src/libvorbis/xine_decoder.c) | 0 | ||||
-rw-r--r-- | src/libxinevdec/Makefile.am | 8 | ||||
-rw-r--r-- | src/libxinevdec/xine_theora_decoder.c (renamed from src/libtheora/xine_decoder.c) | 0 | ||||
-rw-r--r-- | src/post/audio/Makefile.am | 4 | ||||
-rw-r--r-- | src/post/deinterlace/Makefile.am | 4 | ||||
-rw-r--r-- | src/post/deinterlace/plugins/Makefile.am | 2 | ||||
-rw-r--r-- | src/post/goom/Makefile.am | 4 | ||||
-rw-r--r-- | src/post/mosaico/Makefile.am | 4 | ||||
-rw-r--r-- | src/post/planar/Makefile.am | 4 | ||||
-rw-r--r-- | src/post/visualizations/Makefile.am | 4 | ||||
-rw-r--r-- | src/video_out/vidix/drivers/Makefile.am | 4 |
66 files changed, 118 insertions, 230 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index 0d5621593..6718b4805 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -20,15 +20,10 @@ SUBDIRS = \ libdts \ libmad \ libw32dll \ - liblpcm \ libxinevdec \ libxineadec \ - libvorbis \ - libtheora \ - libspeex \ libreal \ libfaad \ - libflac \ libmusepack \ post \ combined diff --git a/src/audio_out/Makefile.am b/src/audio_out/Makefile.am index d52f700f3..20a4e708b 100644 --- a/src/audio_out/Makefile.am +++ b/src/audio_out/Makefile.am @@ -4,8 +4,6 @@ AM_CPPFLAGS = -DXINE_COMPILE EXTRA_DIST = audio_irixal_out.c -libdir = $(XINE_PLUGINDIR) - if HAVE_OSS oss_module = xineplug_ao_out_oss.la endif @@ -57,7 +55,7 @@ endif # all xine audio out plugins should be named like the # scheme "xineplug_ao_out_" # -lib_LTLIBRARIES = xineplug_ao_out_none.la xineplug_ao_out_file.la \ +xineplug_LTLIBRARIES = xineplug_ao_out_none.la xineplug_ao_out_file.la \ $(oss_module) \ $(alsa_module) \ $(sun_module) \ @@ -70,14 +68,6 @@ lib_LTLIBRARIES = xineplug_ao_out_none.la xineplug_ao_out_file.la \ $(fusionsound_module) \ $(jack_module) -#lib_LTLIBRARIES = \ -# $(alsa_module) \ -# $(arts_module) \ -# $(esd_module) \ -# $(irixal_module) \ -# $(oss_module) \ -# $(sun_module) - xineplug_ao_out_none_la_SOURCES = audio_none_out.c xineplug_ao_out_none_la_LIBADD = $(XINE_LIB) xineplug_ao_out_none_la_CFLAGS = $(VISIBILITY_FLAG) diff --git a/src/audio_out/audio_alsa_out.c b/src/audio_out/audio_alsa_out.c index 3651d21da..f176b7594 100644 --- a/src/audio_out/audio_alsa_out.c +++ b/src/audio_out/audio_alsa_out.c @@ -663,15 +663,7 @@ static int ao_alsa_delay (ao_driver_t *this_gen) { struct timeval now; printf("audio_alsa_out:delay:ENTERED\n"); #endif - err=snd_pcm_delay( this->audio_fd, &delay ); - - int state = snd_pcm_state(this->audio_fd); - - /* check for idle states, which need to be handled as delay=0 */ - if(state == SND_PCM_STATE_PREPARED || state == SND_PCM_STATE_PAUSED || - state == SND_PCM_STATE_OPEN || SND_PCM_STATE_XRUN) { - return 0; - } + err = snd_pcm_delay( this->audio_fd, &delay ); #ifdef LOG_DEBUG printf("audio_alsa_out:delay:delay all=%ld err=%d\n",delay, err); @@ -679,8 +671,11 @@ static int ao_alsa_delay (ao_driver_t *this_gen) { printf("audio_alsa_out:delay: Time = %ld.%ld\n", now.tv_sec, now.tv_usec); printf("audio_alsa_out:delay:FINISHED\n"); #endif - return delay; + if (err || (delay < 0)) + delay = 0; + + return delay; } #if 0 diff --git a/src/combined/Makefile.am b/src/combined/Makefile.am index 0d27f71c0..884fcf0cc 100644 --- a/src/combined/Makefile.am +++ b/src/combined/Makefile.am @@ -4,9 +4,18 @@ if HAVE_WAVPACK xineplug_wavpack = xineplug_wavpack.la endif -xineplug_LTLIBRARIES = $(xineplug_wavpack) +if HAVE_LIBFLAC +xineplug_flac = xineplug_flac.la +endif + +xineplug_LTLIBRARIES = $(xineplug_wavpack) $(xineplug_flac) xineplug_wavpack_la_SOURCES = demux_wavpack.c decoder_wavpack.c combined_wavpack.c combined_wavpack.h xineplug_wavpack_la_CFLAGS = $(VISIBILITY_FLAG) $(WAVPACK_CFLAGS) -I$(srcdir)/../demuxers xineplug_wavpack_la_LIBADD = $(XINE_LIB) $(WAVPACK_LIBS) xineplug_wavpack_la_LDFLAGS = $(xineplug_ldflags) + +xineplug_flac_la_SOURCES = demux_flac.c decoder_flac.c demux_flac.h +xineplug_flac_la_CFLAGS = $(VISIBILITY_FLAG) $(LIBFLAC_CFLAGS) +xineplug_flac_la_LIBADD = $(XINE_LIB) $(LIBFLAC_LIBS) +xineplug_flac_la_LDFLAGS = $(xineplug_ldflags) diff --git a/src/libflac/decoder_flac.c b/src/combined/decoder_flac.c index 9b77cc27d..9b77cc27d 100644 --- a/src/libflac/decoder_flac.c +++ b/src/combined/decoder_flac.c diff --git a/src/libflac/demux_flac.c b/src/combined/demux_flac.c index 43ee17d5c..43ee17d5c 100644 --- a/src/libflac/demux_flac.c +++ b/src/combined/demux_flac.c diff --git a/src/libflac/demux_flac.h b/src/combined/demux_flac.h index 6086781d1..6086781d1 100644 --- a/src/libflac/demux_flac.h +++ b/src/combined/demux_flac.h diff --git a/src/dxr3/Makefile.am b/src/dxr3/Makefile.am index 8bf9c9427..5f413f804 100644 --- a/src/dxr3/Makefile.am +++ b/src/dxr3/Makefile.am @@ -2,8 +2,6 @@ include $(top_srcdir)/misc/Makefile.common AM_CFLAGS = $(X_CFLAGS) $(LIBFAME_CFLAGS) -libdir = $(XINE_PLUGINDIR) - if HAVE_DXR3 dxr3_modules = xineplug_decode_dxr3_video.la \ xineplug_decode_dxr3_spu.la \ @@ -19,7 +17,7 @@ if HAVE_LIBRTE link_rte = -lrte endif -lib_LTLIBRARIES = $(dxr3_modules) +xineplug_LTLIBRARIES = $(dxr3_modules) xineplug_decode_dxr3_video_la_SOURCES = dxr3_decode_video.c xineplug_decode_dxr3_video_la_LIBADD = $(XINE_LIB) diff --git a/src/input/Makefile.am b/src/input/Makefile.am index 68adf84be..a2a1ea3a4 100644 --- a/src/input/Makefile.am +++ b/src/input/Makefile.am @@ -8,8 +8,6 @@ else SUBDIRS = vcd dvb libreal librtsp libdvdnav endif -libdir = $(XINE_PLUGINDIR) - ## # IMPORTANT: # --------- @@ -52,7 +50,7 @@ endif AM_CFLAGS = -D_LARGEFILE64_SOURCE $(GNOME_VFS_CFLAGS) $(ALSA_CFLAGS) $(DVD_CFLAGS) -lib_LTLIBRARIES = \ +xineplug_LTLIBRARIES = \ xineplug_inp_file.la \ xineplug_inp_http.la \ $(in_dvd) \ diff --git a/src/input/vcd/Makefile.am b/src/input/vcd/Makefile.am index 98903aac8..16eece779 100644 --- a/src/input/vcd/Makefile.am +++ b/src/input/vcd/Makefile.am @@ -2,14 +2,12 @@ include $(top_srcdir)/misc/Makefile.common SUBDIRS = libcdio libvcd -libdir = $(XINE_PLUGINDIR) - vcd_SRCS = xineplug_inp_vcd.c vcdplayer.c vcdio.c xine-extra.c EXTRA_DIST = $(vcd_SRCS) if ENABLE_VCD -lib_LTLIBRARIES = xineplug_inp_vcd.la +xineplug_LTLIBRARIES = xineplug_inp_vcd.la AM_CFLAGS = $(LIBCDIO_CFLAGS) $(LIBVCD_CFLAGS) diff --git a/src/liba52/Makefile.am b/src/liba52/Makefile.am index f296a0ef3..6a0aebe62 100644 --- a/src/liba52/Makefile.am +++ b/src/liba52/Makefile.am @@ -1,12 +1,10 @@ include $(top_srcdir)/misc/Makefile.common -libdir = $(XINE_PLUGINDIR) - if A52 a52_module = xineplug_decode_a52.la endif -lib_LTLIBRARIES = $(a52_module) +xineplug_LTLIBRARIES = $(a52_module) if EXTERNAL_A52DEC internal_sources = @@ -20,7 +18,7 @@ internal_sources = \ endif xineplug_decode_a52_la_SOURCES = \ - xine_decoder.c \ + xine_a52_decoder.c \ $(internal_sources) if EXTERNAL_A52DEC @@ -30,7 +28,7 @@ xineplug_decode_a52_la_LIBADD = $(XINE_LIB) -lm endif xineplug_decode_a52_la_CFLAGS = $(VISIBILITY_FLAG) -xineplug_decode_a52_la_LDFLAGS = -avoid-version -module +xineplug_decode_a52_la_LDFLAGS = $(xineplug_ldflags) noinst_HEADERS = \ a52.h \ diff --git a/src/liba52/xine_decoder.c b/src/liba52/xine_a52_decoder.c index 5435e9664..5435e9664 100644 --- a/src/liba52/xine_decoder.c +++ b/src/liba52/xine_a52_decoder.c diff --git a/src/libdts/Makefile.am b/src/libdts/Makefile.am index 4cf54884f..207755f1f 100644 --- a/src/libdts/Makefile.am +++ b/src/libdts/Makefile.am @@ -1,12 +1,10 @@ include $(top_srcdir)/misc/Makefile.common -libdir = $(XINE_PLUGINDIR) - if DTS dts_module = xineplug_decode_dts.la endif -lib_LTLIBRARIES = $(dts_module) +xineplug_LTLIBRARIES = $(dts_module) if EXTERNAL_LIBDTS fnsa = @@ -16,9 +14,9 @@ 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_SOURCES = xine_dts_decoder.c $(internal_sources) xineplug_decode_dts_la_CFLAGS = $(LIBDTS_CFLAGS) $(VISIBILITY_FLAG) $(fnsa) -xineplug_decode_dts_la_LDFLAGS = -avoid-version -module +xineplug_decode_dts_la_LDFLAGS = $(xineplug_ldflags) if EXTERNAL_LIBDTS xineplug_decode_dts_la_LIBADD = $(XINE_LIB) $(LIBDTS_LIBS) -lm diff --git a/src/libdts/xine_decoder.c b/src/libdts/xine_dts_decoder.c index 902d8c5b6..902d8c5b6 100644 --- a/src/libdts/xine_decoder.c +++ b/src/libdts/xine_dts_decoder.c diff --git a/src/libfaad/Makefile.am b/src/libfaad/Makefile.am index dcc57792a..d1a4ed865 100644 --- a/src/libfaad/Makefile.am +++ b/src/libfaad/Makefile.am @@ -2,13 +2,11 @@ include $(top_srcdir)/misc/Makefile.common SUBDIRS = codebook -libdir = $(XINE_PLUGINDIR) - if BUILD_FAAD faad_module = xineplug_decode_faad.la endif -lib_LTLIBRARIES = $(faad_module) +xineplug_LTLIBRARIES = $(faad_module) VPATH = @srcdir@:@srcdir@/codebook: @@ -52,9 +50,9 @@ xineplug_decode_faad_la_SOURCES = \ ssr_ipqf.c \ syntax.c \ tns.c \ - xine_decoder.c + xine_faad_decoder.c -xineplug_decode_faad_la_LDFLAGS = -avoid-version -module +xineplug_decode_faad_la_LDFLAGS = $(xineplug_ldflags) xineplug_decode_faad_la_LIBADD = -lm $(XINE_LIB) noinst_HEADERS = \ diff --git a/src/libfaad/xine_decoder.c b/src/libfaad/xine_faad_decoder.c index aa528a34d..aa528a34d 100644 --- a/src/libfaad/xine_decoder.c +++ b/src/libfaad/xine_faad_decoder.c diff --git a/src/libffmpeg/Makefile.am b/src/libffmpeg/Makefile.am index 5f08ea20e..19ea72b5e 100644 --- a/src/libffmpeg/Makefile.am +++ b/src/libffmpeg/Makefile.am @@ -16,33 +16,30 @@ endif DISTCLEANFILES = ffmpeg_config.h # this must always be included, even if the current machine has no DXR3... -EXTRA_DIST = xine_encoder.c diff_to_ffmpeg_cvs.txt +EXTRA_DIST = ffmpeg_encoder.c diff_to_ffmpeg_cvs.txt INTERNAL_DOCS = diff_to_ffmpeg_cvs.txt -libdir = $(XINE_PLUGINDIR) - -lib_LTLIBRARIES = xineplug_decode_ff.la xineplug_decode_dvaudio.la +xineplug_LTLIBRARIES = xineplug_decode_ff.la xineplug_decode_dvaudio.la if HAVE_DXR3 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 +xineplug_decode_ff_la_SOURCES = ffmpeg_decoder.c ff_audio_decoder.c ff_video_decoder.c \ + ffmpeg_encoder.c ff_mpeg_parser.c ffmpeg_decoder.h \ + ff_mpeg_parser.h 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_SOURCES = ffmpeg_decoder.c ff_audio_decoder.c ff_video_decoder.c \ + ff_mpeg_parser.c ffmpeg_decoder.h ff_mpeg_parser.h endif xineplug_decode_ff_la_CFLAGS = $(VISIBILITY_FLAG) $(AM_CFLAGS) -xineplug_decode_ff_la_LDFLAGS = -avoid-version -module @IMPURE_TEXT_LDFLAGS@ +xineplug_decode_ff_la_LDFLAGS = $(xineplug_ldflags) $(IMPURE_TEXT_LDFLAGS) xineplug_decode_ff_la_LIBADD = $(MLIB_LIBS) $(XINE_LIB) -lm $(ZLIB_LIBS) \ $(link_ffmpeg) $(PTHREAD_LIBS) xineplug_decode_dvaudio_la_CFLAGS = $(VISIBILITY_FLAG) $(AM_CFLAGS) -xineplug_decode_dvaudio_la_LDFLAGS = -avoid-version -module -xineplug_decode_dvaudio_la_SOURCES = dvaudio_decoder.c +xineplug_decode_dvaudio_la_LDFLAGS = $(xineplug_ldflags) +xineplug_decode_dvaudio_la_SOURCES = ff_dvaudio_decoder.c xineplug_decode_dvaudio_la_LIBADD = $(XINE_LIB) - -noinst_HEADERS = xine_decoder.h mpeg_parser.h diff --git a/src/libffmpeg/audio_decoder.c b/src/libffmpeg/ff_audio_decoder.c index 7ab1f56b4..e0d6e5cab 100644 --- a/src/libffmpeg/audio_decoder.c +++ b/src/libffmpeg/ff_audio_decoder.c @@ -45,7 +45,7 @@ #include "buffer.h" #include "xineutils.h" #include "bswap.h" -#include "xine_decoder.h" +#include "ffmpeg_decoder.h" #define AUDIOBUFSIZE (64 * 1024) diff --git a/src/libffmpeg/dvaudio_decoder.c b/src/libffmpeg/ff_dvaudio_decoder.c index 2c851bae1..2c851bae1 100644 --- a/src/libffmpeg/dvaudio_decoder.c +++ b/src/libffmpeg/ff_dvaudio_decoder.c diff --git a/src/libffmpeg/mpeg_parser.c b/src/libffmpeg/ff_mpeg_parser.c index 14a08a456..fcee29a80 100644 --- a/src/libffmpeg/mpeg_parser.c +++ b/src/libffmpeg/ff_mpeg_parser.c @@ -27,7 +27,7 @@ /* #define LOG */ -#include "mpeg_parser.h" +#include "ff_mpeg_parser.h" /* mpeg frame rate table from lavc */ static const int frame_rate_tab[][2] = { diff --git a/src/libffmpeg/mpeg_parser.h b/src/libffmpeg/ff_mpeg_parser.h index 859a0fcec..b307714cc 100644 --- a/src/libffmpeg/mpeg_parser.h +++ b/src/libffmpeg/ff_mpeg_parser.h @@ -26,7 +26,7 @@ #define HAVE_MPEG_PARSER_H #include "xine_internal.h" -#include "xine_decoder.h" +#include "ffmpeg_decoder.h" #define BUFFER_SIZE (1194 * 1024) /* libmpeg2's buffer size */ diff --git a/src/libffmpeg/video_decoder.c b/src/libffmpeg/ff_video_decoder.c index 38cf160c5..e04c680b7 100644 --- a/src/libffmpeg/video_decoder.c +++ b/src/libffmpeg/ff_video_decoder.c @@ -45,8 +45,8 @@ #include "bswap.h" #include "buffer.h" #include "xineutils.h" -#include "xine_decoder.h" -#include "mpeg_parser.h" +#include "ffmpeg_decoder.h" +#include "ff_mpeg_parser.h" #ifdef HAVE_FFMPEG # include <postprocess.h> diff --git a/src/libffmpeg/xine_decoder.c b/src/libffmpeg/ffmpeg_decoder.c index 2eeb9746b..6f85cc1fa 100644 --- a/src/libffmpeg/xine_decoder.c +++ b/src/libffmpeg/ffmpeg_decoder.c @@ -30,7 +30,7 @@ #include "xine_internal.h" -#include "xine_decoder.h" +#include "ffmpeg_decoder.h" /* * common initialisation diff --git a/src/libffmpeg/xine_decoder.h b/src/libffmpeg/ffmpeg_decoder.h index 879ee3175..879ee3175 100644 --- a/src/libffmpeg/xine_decoder.h +++ b/src/libffmpeg/ffmpeg_decoder.h diff --git a/src/libffmpeg/xine_encoder.c b/src/libffmpeg/ffmpeg_encoder.c index e234b4ddc..e234b4ddc 100644 --- a/src/libffmpeg/xine_encoder.c +++ b/src/libffmpeg/ffmpeg_encoder.c diff --git a/src/libflac/Makefile.am b/src/libflac/Makefile.am deleted file mode 100644 index 6449820bc..000000000 --- a/src/libflac/Makefile.am +++ /dev/null @@ -1,14 +0,0 @@ -include $(top_srcdir)/misc/Makefile.common - -libdir = $(XINE_PLUGINDIR) - -if HAVE_LIBFLAC -lib_LTLIBRARIES = xineplug_flac.la -endif - -xineplug_flac_la_SOURCES = demux_flac.c decoder_flac.c -xineplug_flac_la_LIBADD = $(LIBFLAC_LIBS) $(XINE_LIB) -xineplug_flac_la_CFLAGS = $(LIBFLAC_CFLAGS) $(VISIBILITY_FLAG) -xineplug_flac_la_LDFLAGS = -avoid-version -module - -noinst_HEADERS = demux_flac.h diff --git a/src/liblpcm/Makefile.am b/src/liblpcm/Makefile.am deleted file mode 100644 index e8527ee5c..000000000 --- a/src/liblpcm/Makefile.am +++ /dev/null @@ -1,10 +0,0 @@ -include $(top_srcdir)/misc/Makefile.common - -libdir = $(XINE_PLUGINDIR) - -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_CFLAGS = $(VISIBILITY_FLAG) -xineplug_decode_lpcm_la_LDFLAGS = -avoid-version -module diff --git a/src/libmad/Makefile.am b/src/libmad/Makefile.am index 8d704205b..c879645c5 100644 --- a/src/libmad/Makefile.am +++ b/src/libmad/Makefile.am @@ -4,13 +4,11 @@ AM_CFLAGS = -DOPT_SPEED EXTRA_DIST = imdct_l_arm.S -libdir = $(XINE_PLUGINDIR) - if MAD mad_module = xineplug_decode_mad.la endif -lib_LTLIBRARIES = $(mad_module) +xineplug_LTLIBRARIES = $(mad_module) if EXTERNAL_LIBMAD internal_sources = @@ -29,7 +27,7 @@ internal_sources = \ endif xineplug_decode_mad_la_SOURCES = \ - xine_decoder.c \ + xine_mad_decoder.c \ $(internal_sources) if EXTERNAL_LIBMAD @@ -38,7 +36,7 @@ else xineplug_decode_mad_la_LIBADD = $(XINE_LIB) endif xineplug_decode_mad_la_CFLAGS = $(LIBMAD_CFLAGS) $(VISIBILITY_FLAG) -xineplug_decode_mad_la_LDFLAGS = -avoid-version -module +xineplug_decode_mad_la_LDFLAGS = $(xineplug_ldflags) noinst_HEADERS = \ D.dat \ diff --git a/src/libmad/xine_decoder.c b/src/libmad/xine_mad_decoder.c index 28407cfec..28407cfec 100644 --- a/src/libmad/xine_decoder.c +++ b/src/libmad/xine_mad_decoder.c diff --git a/src/libmpeg2/Makefile.am b/src/libmpeg2/Makefile.am index 550ce581f..66fb39f13 100644 --- a/src/libmpeg2/Makefile.am +++ b/src/libmpeg2/Makefile.am @@ -1,10 +1,6 @@ include $(top_srcdir)/misc/Makefile.common -AM_CFLAGS = $(LIBMPEG2_CFLAGS) - -libdir = $(XINE_PLUGINDIR) - -lib_LTLIBRARIES = xineplug_decode_mpeg2.la +xineplug_LTLIBRARIES = xineplug_decode_mpeg2.la xineplug_decode_mpeg2_la_SOURCES = \ cpu_state.c \ @@ -23,12 +19,12 @@ xineplug_decode_mpeg2_la_SOURCES = \ slice_xvmc.c \ slice_xvmc_vld.c \ stats.c \ - xine_decoder.c \ + xine_mpeg2_decoder.c \ libmpeg2_accel.c xineplug_decode_mpeg2_la_LIBADD = $(MLIB_LIBS) $(XINE_LIB) -lm -xineplug_decode_mpeg2_la_CFLAGS = $(VISIBILITY_FLAG) -xineplug_decode_mpeg2_la_LDFLAGS = -avoid-version -module +xineplug_decode_mpeg2_la_CFLAGS = $(VISIBILITY_FLAG) $(LIBMPEG2_CFLAGS) +xineplug_decode_mpeg2_la_LDFLAGS = $(xineplug_ldflags) 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_mpeg2_decoder.c index 8c0d176c0..8c0d176c0 100644 --- a/src/libmpeg2/xine_decoder.c +++ b/src/libmpeg2/xine_mpeg2_decoder.c diff --git a/src/libmpeg2new/Makefile.am b/src/libmpeg2new/Makefile.am index 03dae6cba..49959da86 100644 --- a/src/libmpeg2new/Makefile.am +++ b/src/libmpeg2new/Makefile.am @@ -1,16 +1,13 @@ include $(top_srcdir)/misc/Makefile.common -AM_CFLAGS = $(LIBMPEG2_CFLAGS) - SUBDIRS = libmpeg2 -libdir = $(XINE_PLUGINDIR) - -lib_LTLIBRARIES = xineplug_decode_mpeg2.la +xineplug_LTLIBRARIES = xineplug_decode_mpeg2.la xineplug_decode_mpeg2_la_SOURCES = \ - xine_decoder.c + xine_mpeg2_decoder.c +xineplug_decode_mpeg2_la_CFLAGS = $(VISIBILITY_FLAG) $(LIBMPEG2_CFLAGS) xineplug_decode_mpeg2_la_LIBADD = $(XINE_LIB) ./libmpeg2/libmpeg2.la -xineplug_decode_mpeg2_la_LDFLAGS = -avoid-version -module @XINE_PLUGIN_MIN_SYMS@ +xineplug_decode_mpeg2_la_LDFLAGS = $(xineplug_ldflags) diff --git a/src/libmpeg2new/xine_decoder.c b/src/libmpeg2new/xine_mpeg2new_decoder.c index 9e36772b7..9e36772b7 100644 --- a/src/libmpeg2new/xine_decoder.c +++ b/src/libmpeg2new/xine_mpeg2new_decoder.c diff --git a/src/libmusepack/Makefile.am b/src/libmusepack/Makefile.am index 021ec0985..d39426597 100644 --- a/src/libmusepack/Makefile.am +++ b/src/libmusepack/Makefile.am @@ -4,10 +4,8 @@ SUBDIRS = musepack EXTRA_DIST = diff_against_svn.patch -libdir = $(XINE_PLUGINDIR) - if MUSEPACK -lib_LTLIBRARIES = xineplug_decode_mpc.la +xineplug_LTLIBRARIES = xineplug_decode_mpc.la endif if EXTERNAL_MPCDEC @@ -23,7 +21,6 @@ else xineplug_decode_mpc_la_LIBADD = $(XINE_LIB) endif -xineplug_decode_mpc_la_SOURCES = $(internal_sources) xine_decoder.c +xineplug_decode_mpc_la_SOURCES = $(internal_sources) xine_musepack_decoder.c xineplug_decode_mpc_la_CFLAGS = $(VISIBILITY_FLAG) -xineplug_decode_mpc_la_LDFLAGS = -avoid-version -module - +xineplug_decode_mpc_la_LDFLAGS = $(xineplug_ldflags) diff --git a/src/libmusepack/xine_decoder.c b/src/libmusepack/xine_musepack_decoder.c index 26c2eddf5..26c2eddf5 100644 --- a/src/libmusepack/xine_decoder.c +++ b/src/libmusepack/xine_musepack_decoder.c diff --git a/src/libreal/Makefile.am b/src/libreal/Makefile.am index 114a473a7..c9cf62984 100644 --- a/src/libreal/Makefile.am +++ b/src/libreal/Makefile.am @@ -4,7 +4,7 @@ if ENABLE_REAL xineplug_LTLIBRARIES = xineplug_decode_real.la endif -xineplug_decode_real_la_SOURCES = xine_decoder.c real_common.c audio_decoder.c +xineplug_decode_real_la_SOURCES = xine_real_video_decoder.c real_common.c xine_real_audio_decoder.c xineplug_decode_real_la_LIBADD = $(XINE_LIB) $(DYNAMIC_LD_LIBS) xineplug_decode_real_la_CFLAGS = $(VISIBILITY_FLAG) xineplug_decode_real_la_LDFLAGS = $(xineplug_ldflags) diff --git a/src/libreal/audio_decoder.c b/src/libreal/xine_real_audio_decoder.c index d1bb94230..d1bb94230 100644 --- a/src/libreal/audio_decoder.c +++ b/src/libreal/xine_real_audio_decoder.c diff --git a/src/libreal/xine_decoder.c b/src/libreal/xine_real_video_decoder.c index ea1fc8c54..ea1fc8c54 100644 --- a/src/libreal/xine_decoder.c +++ b/src/libreal/xine_real_video_decoder.c diff --git a/src/libspeex/Makefile.am b/src/libspeex/Makefile.am deleted file mode 100644 index bfe6f35b9..000000000 --- a/src/libspeex/Makefile.am +++ /dev/null @@ -1,14 +0,0 @@ -include $(top_srcdir)/misc/Makefile.common - -libdir = $(XINE_PLUGINDIR) - -if HAVE_SPEEX -speex_module = xineplug_decode_speex.la -endif - -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_CFLAGS = $(VISIBILITY_FLAGS) $(SPEEX_CFLAGS) -xineplug_decode_speex_la_LDFLAGS = -avoid-version -module diff --git a/src/libspucc/Makefile.am b/src/libspucc/Makefile.am index fff0ab47c..aefe4d7c1 100644 --- a/src/libspucc/Makefile.am +++ b/src/libspucc/Makefile.am @@ -1,10 +1,8 @@ include $(top_srcdir)/misc/Makefile.common -libdir = $(XINE_PLUGINDIR) +xineplug_LTLIBRARIES = xineplug_decode_spucc.la -lib_LTLIBRARIES = xineplug_decode_spucc.la - -xineplug_decode_spucc_la_SOURCES = cc_decoder.c xine_decoder.c +xineplug_decode_spucc_la_SOURCES = cc_decoder.c xine_cc_decoder.c 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 diff --git a/src/libspucc/xine_decoder.c b/src/libspucc/xine_cc_decoder.c index 1a32274f6..1a32274f6 100644 --- a/src/libspucc/xine_decoder.c +++ b/src/libspucc/xine_cc_decoder.c diff --git a/src/libspucmml/Makefile.am b/src/libspucmml/Makefile.am index cf9095399..ac2970482 100644 --- a/src/libspucmml/Makefile.am +++ b/src/libspucmml/Makefile.am @@ -1,10 +1,8 @@ include $(top_srcdir)/misc/Makefile.common -libdir = $(XINE_PLUGINDIR) +xineplug_LTLIBRARIES = xineplug_decode_spucmml.la -lib_LTLIBRARIES = xineplug_decode_spucmml.la - -xineplug_decode_spucmml_la_SOURCES = xine_decoder.c +xineplug_decode_spucmml_la_SOURCES = xine_cmml_decoder.c xineplug_decode_spucmml_la_LIBADD = $(XINE_LIB) xineplug_decode_spucmml_la_CFLAGS = $(VISIBILITY_FLAG) -xineplug_decode_spucmml_la_LDFLAGS = -avoid-version -module +xineplug_decode_spucmml_la_LDFLAGS = $(xineplug_ldflags) diff --git a/src/libspucmml/xine_decoder.c b/src/libspucmml/xine_cmml_decoder.c index 13cb6c066..13cb6c066 100644 --- a/src/libspucmml/xine_decoder.c +++ b/src/libspucmml/xine_cmml_decoder.c diff --git a/src/libspudec/Makefile.am b/src/libspudec/Makefile.am index d50c49ca6..208d994f5 100644 --- a/src/libspudec/Makefile.am +++ b/src/libspudec/Makefile.am @@ -1,14 +1,12 @@ include $(top_srcdir)/misc/Makefile.common -libdir = $(XINE_PLUGINDIR) - -lib_LTLIBRARIES = xineplug_decode_spu.la +xineplug_LTLIBRARIES = xineplug_decode_spu.la if HAVE_DVDNAV xineplug_decode_spu_la_SOURCES = \ spu.c \ - xine_decoder.c + xine_spu_decoder.c xineplug_decode_spu_la_LIBADD = $(XINE_LIB) $(DVDNAV_LIBS) $(PTHREAD_LIBS) else @@ -16,13 +14,13 @@ else xineplug_decode_spu_la_SOURCES = \ nav_read.c \ spu.c \ - xine_decoder.c + xine_spu_decoder.c AM_CPPFLAGS = -I$(top_srcdir)/src/input/libdvdnav xineplug_decode_spu_la_LIBADD = $(XINE_LIB) $(PTHREAD_LIBS) endif xineplug_decode_spu_la_CFLAGS = $(DVDNAV_CFLAGS) $(VISIBILITY_FLAG) -xineplug_decode_spu_la_LDFLAGS = -avoid-version -module +xineplug_decode_spu_la_LDFLAGS = $(xineplug_ldflags) noinst_HEADERS = spu.h diff --git a/src/libspudec/xine_decoder.c b/src/libspudec/xine_spu_decoder.c index 30c7f18c9..30c7f18c9 100644 --- a/src/libspudec/xine_decoder.c +++ b/src/libspudec/xine_spu_decoder.c diff --git a/src/libspudvb/Makefile.am b/src/libspudvb/Makefile.am index 1efc8252f..e385e5553 100644 --- a/src/libspudvb/Makefile.am +++ b/src/libspudvb/Makefile.am @@ -1,10 +1,8 @@ include $(top_srcdir)/misc/Makefile.common -libdir = $(XINE_PLUGINDIR) +xineplug_LTLIBRARIES = xineplug_decode_spudvb.la -lib_LTLIBRARIES = xineplug_decode_spudvb.la - -xineplug_decode_spudvb_la_SOURCES = xine_decoder.c +xineplug_decode_spudvb_la_SOURCES = xine_spudvb_decoder.c xineplug_decode_spudvb_la_LIBADD = $(XINE_LIB) $(PTHREAD_LIBS) xineplug_decode_spudvb_la_CFLAGS = $(VISIBILITY_FLAG) -xineplug_decode_spudvb_la_LDFLAGS = -avoid-version -module +xineplug_decode_spudvb_la_LDFLAGS = $(xineplug_ldflags) diff --git a/src/libspudvb/xine_decoder.c b/src/libspudvb/xine_spudvb_decoder.c index f2fcfe182..f2fcfe182 100644 --- a/src/libspudvb/xine_decoder.c +++ b/src/libspudvb/xine_spudvb_decoder.c diff --git a/src/libsputext/Makefile.am b/src/libsputext/Makefile.am index 362f9319e..5e4ce59d0 100644 --- a/src/libsputext/Makefile.am +++ b/src/libsputext/Makefile.am @@ -1,17 +1,13 @@ include $(top_srcdir)/misc/Makefile.common -libdir = $(XINE_PLUGINDIR) +AM_LDFLAGS = $(xineplug_ldflags) -sputext_decoder = xineplug_decode_sputext.la xineplug_dmx_sputext.la - -lib_LTLIBRARIES = $(sputext_decoder) +xineplug_LTLIBRARIES = xineplug_decode_sputext.la xineplug_dmx_sputext.la xineplug_dmx_sputext_la_SOURCES = demux_sputext.c xineplug_dmx_sputext_la_LIBADD = $(XINE_LIB) 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_SOURCES = xine_sputext_decoder.c xineplug_decode_sputext_la_LIBADD = $(XINE_LIB) xineplug_decode_sputext_la_CFLAGS = $(VISIBILITY_FLAG) -xineplug_decode_sputext_la_LDFLAGS = -avoid-version -module diff --git a/src/libsputext/xine_decoder.c b/src/libsputext/xine_sputext_decoder.c index e8ef631ca..e8ef631ca 100644 --- a/src/libsputext/xine_decoder.c +++ b/src/libsputext/xine_sputext_decoder.c diff --git a/src/libtheora/Makefile.am b/src/libtheora/Makefile.am deleted file mode 100644 index d3813765d..000000000 --- a/src/libtheora/Makefile.am +++ /dev/null @@ -1,15 +0,0 @@ -include $(top_srcdir)/misc/Makefile.common - -AM_CFLAGS = $(THEORA_CFLAGS) - -libdir = $(XINE_PLUGINDIR) - -if HAVE_THEORA -theora_module = xineplug_decode_theora.la -endif - -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 diff --git a/src/libvorbis/Makefile.am b/src/libvorbis/Makefile.am deleted file mode 100644 index 09abced93..000000000 --- a/src/libvorbis/Makefile.am +++ /dev/null @@ -1,14 +0,0 @@ -include $(top_srcdir)/misc/Makefile.common - -libdir = $(XINE_PLUGINDIR) - -if HAVE_VORBIS -vorbis_module = xineplug_decode_vorbis.la -endif - -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_CFLAGS = $(VORBIS_CFLAGS) $(VISIBILITY_FLAG) -xineplug_decode_vorbis_la_LDFLAGS = -avoid-version -module diff --git a/src/libw32dll/Makefile.am b/src/libw32dll/Makefile.am index 46027d0f1..358eea40a 100644 --- a/src/libw32dll/Makefile.am +++ b/src/libw32dll/Makefile.am @@ -9,9 +9,7 @@ w32dll_codec = xineplug_decode_w32dll.la qt_codec = xineplug_decode_qt.la endif -libdir = $(XINE_PLUGINDIR) - -lib_LTLIBRARIES = $(w32dll_codec) $(qt_codec) +xineplug_LTLIBRARIES = $(w32dll_codec) $(qt_codec) EXTRA_DIST = common.c diff --git a/src/libxineadec/Makefile.am b/src/libxineadec/Makefile.am index 7f34b4bfd..b2ffcf078 100644 --- a/src/libxineadec/Makefile.am +++ b/src/libxineadec/Makefile.am @@ -2,26 +2,41 @@ include $(top_srcdir)/misc/Makefile.common EXTRA_DIST = fooaudio.c -libdir = $(XINE_PLUGINDIR) - SUBDIRS = gsm610 nosefart -lib_LTLIBRARIES = \ +AM_LDFLAGS = $(xineplug_ldflags) + +if HAVE_VORBIS +vorbis_module = xineplug_decode_vorbis.la +endif + +if HAVE_SPEEX +speex_module = xineplug_decode_speex.la +endif + +xineplug_LTLIBRARIES = \ xineplug_decode_gsm610.la \ - xineplug_decode_nsf.la + xineplug_decode_nsf.la \ + xineplug_decode_lpcm.la \ + $(vorbis_module) \ + $(speex_module) xineplug_decode_gsm610_la_SOURCES = gsm610.c 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_gsm610_la_LIBADD = $(XINE_LIB) gsm610/libgsm610.la xineplug_decode_nsf_la_SOURCES = nsf.c 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 = -lm \ - $(XINE_LIB) \ - $(top_builddir)/src/libxineadec/nosefart/libnosefart.la +xineplug_decode_nsf_la_LIBADD = $(XINE_LIB) -lm nosefart/libnosefart.la + +xineplug_decode_lpcm_la_SOURCES = xine_lpcm_decoder.c +xineplug_decode_lpcm_la_CFLAGS = $(VISIBILITY_FLAG) +xineplug_decode_lpcm_la_LIBADD = $(XINE_LIB) + +xineplug_decode_vorbis_la_SOURCES = xine_vorbis_decoder.c +xineplug_decode_vorbis_la_LIBADD = $(XINE_LIB) $(VORBIS_LIBS) $(OGG_LIBS) +xineplug_decode_vorbis_la_CFLAGS = $(VISIBILITY_FLAG) $(VORBIS_CFLAGS) -# noinst_HEADERS = +xineplug_decode_speex_la_SOURCES = xine_speex_decoder.c +xineplug_decode_speex_la_LIBADD = $(XINE_LIB) $(SPEEX_LIBS) +xineplug_decode_speex_la_CFLAGS = $(VISIBILITY_FLAGS) $(SPEEX_CFLAGS) diff --git a/src/liblpcm/xine_decoder.c b/src/libxineadec/xine_lpcm_decoder.c index 43bea4cbf..43bea4cbf 100644 --- a/src/liblpcm/xine_decoder.c +++ b/src/libxineadec/xine_lpcm_decoder.c diff --git a/src/libspeex/xine_decoder.c b/src/libxineadec/xine_speex_decoder.c index b729dc3bb..b729dc3bb 100644 --- a/src/libspeex/xine_decoder.c +++ b/src/libxineadec/xine_speex_decoder.c diff --git a/src/libvorbis/xine_decoder.c b/src/libxineadec/xine_vorbis_decoder.c index ef8575949..ef8575949 100644 --- a/src/libvorbis/xine_decoder.c +++ b/src/libxineadec/xine_vorbis_decoder.c diff --git a/src/libxinevdec/Makefile.am b/src/libxinevdec/Makefile.am index 903399cbb..87ee050e6 100644 --- a/src/libxinevdec/Makefile.am +++ b/src/libxinevdec/Makefile.am @@ -13,8 +13,13 @@ if HAVE_GDK_PIXBUF gdkpixbuf_module = xineplug_decode_gdk_pixbuf.la endif +if HAVE_THEORA +theora_module = xineplug_decode_theora.la +endif + xineplug_LTLIBRARIES = $(image_module) \ $(gdkpixbuf_module) \ + $(theora_module) \ xineplug_decode_bitplane.la \ xineplug_decode_rgb.la \ xineplug_decode_yuv.la @@ -36,3 +41,6 @@ xineplug_decode_gdk_pixbuf_la_SOURCES = gdkpixbuf.c xineplug_decode_gdk_pixbuf_la_CFLAGS = $(AM_CFLAGS) $(GDK_PIXBUF_CFLAGS) xineplug_decode_gdk_pixbuf_la_LIBADD = $(XINE_LIB) $(DYNAMIC_LD_LIBS) $(GDK_PIXBUF_LIBS) +xineplug_decode_theora_la_SOURCES = xine_theora_decoder.c +xineplug_decode_theora_la_CFLAGS = $(AM_CFLAGS) $(OGG_CFLAGS) $(THEORA_CFLAGS) +xineplug_decode_theora_la_LIBADD = $(XINE_LIB) $(OGG_LIBS) $(THEORA_LIBS) diff --git a/src/libtheora/xine_decoder.c b/src/libxinevdec/xine_theora_decoder.c index 032f8800f..032f8800f 100644 --- a/src/libtheora/xine_decoder.c +++ b/src/libxinevdec/xine_theora_decoder.c diff --git a/src/post/audio/Makefile.am b/src/post/audio/Makefile.am index 9cb93dd5a..f4018a780 100644 --- a/src/post/audio/Makefile.am +++ b/src/post/audio/Makefile.am @@ -2,9 +2,7 @@ include $(top_srcdir)/misc/Makefile.common noinst_HEADERS = dsp.h filter.h window.h audio_filters.h -libdir = $(XINE_PLUGINDIR)/post - -lib_LTLIBRARIES = xineplug_post_audio_filters.la +xinepost_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 diff --git a/src/post/deinterlace/Makefile.am b/src/post/deinterlace/Makefile.am index 0914e114a..d2d1d5c10 100644 --- a/src/post/deinterlace/Makefile.am +++ b/src/post/deinterlace/Makefile.am @@ -4,9 +4,7 @@ SUBDIRS = plugins EXTRA_DIST = -libdir = $(XINE_PLUGINDIR)/post - -lib_LTLIBRARIES = xineplug_post_tvtime.la +xinepost_LTLIBRARIES = xineplug_post_tvtime.la xineplug_post_tvtime_la_SOURCES = xine_plugin.c \ deinterlace.c pulldown.c speedy.c tvtime.c diff --git a/src/post/deinterlace/plugins/Makefile.am b/src/post/deinterlace/plugins/Makefile.am index e6e785211..17d170127 100644 --- a/src/post/deinterlace/plugins/Makefile.am +++ b/src/post/deinterlace/plugins/Makefile.am @@ -32,8 +32,6 @@ EXTRA_DIST = greedy2frame_template.c greedyh.asm \ AM_CFLAGS = -I$(top_srcdir)/src/post/deinterlace \ -I$(top_srcdir)/src/libffmpeg/libavcodec/libpostproc -libdir = $(XINE_PLUGINDIR)/post - noinst_LTLIBRARIES = libdeinterlaceplugins.la libdeinterlaceplugins_la_SOURCES = \ diff --git a/src/post/goom/Makefile.am b/src/post/goom/Makefile.am index 4aeda8f04..e6bae3374 100644 --- a/src/post/goom/Makefile.am +++ b/src/post/goom/Makefile.am @@ -1,7 +1,5 @@ include $(top_srcdir)/misc/Makefile.common -libdir = $(XINE_PLUGINDIR)/post - EXTRA_DIST = mmx.c xmmx.c ppc_drawings.s ppc_zoom_ultimate.s diff_against_release.patch \ gfontrle.c mathtools.c @@ -10,7 +8,7 @@ EXTRA_DIST = mmx.c xmmx.c ppc_drawings.s ppc_zoom_ultimate.s diff_against_releas #CFLAGS = `echo @CFLAGS@ | sed -e 's/-fomit-frame-pointer//g;s/-Os/-O2/g'` CFLAGS = `echo @CFLAGS@ | sed -e 's/-Os/-O2/g'` -lib_LTLIBRARIES = xineplug_post_goom.la +xinepost_LTLIBRARIES = xineplug_post_goom.la ## doesn't work #if PPC_ARCH diff --git a/src/post/mosaico/Makefile.am b/src/post/mosaico/Makefile.am index f5497b1af..c18b4e19c 100644 --- a/src/post/mosaico/Makefile.am +++ b/src/post/mosaico/Makefile.am @@ -1,8 +1,6 @@ include $(top_srcdir)/misc/Makefile.common -libdir = $(XINE_PLUGINDIR)/post - -lib_LTLIBRARIES = xineplug_post_mosaico.la xineplug_post_switch.la +xinepost_LTLIBRARIES = xineplug_post_mosaico.la xineplug_post_switch.la xineplug_post_mosaico_la_SOURCES = mosaico.c xineplug_post_mosaico_la_LIBADD = $(XINE_LIB) $(PTHREAD_LIBS) diff --git a/src/post/planar/Makefile.am b/src/post/planar/Makefile.am index 2e60671b5..5fc425cdf 100644 --- a/src/post/planar/Makefile.am +++ b/src/post/planar/Makefile.am @@ -15,9 +15,7 @@ endif # work, but at least it compiles. AM_CFLAGS = $(ff_cflags) -fomit-frame-pointer -libdir = $(XINE_PLUGINDIR)/post - -lib_LTLIBRARIES = xineplug_post_planar.la +xinepost_LTLIBRARIES = xineplug_post_planar.la xineplug_post_planar_la_SOURCES = planar.c invert.c expand.c fill.c boxblur.c \ denoise3d.c eq.c eq2.c unsharp.c pp.c noise.c diff --git a/src/post/visualizations/Makefile.am b/src/post/visualizations/Makefile.am index dc7679103..f42598d9c 100644 --- a/src/post/visualizations/Makefile.am +++ b/src/post/visualizations/Makefile.am @@ -2,9 +2,7 @@ include $(top_srcdir)/misc/Makefile.common EXTRA_DIST = fooviz.c -libdir = $(XINE_PLUGINDIR)/post - -lib_LTLIBRARIES = xineplug_post_visualizations.la +xinepost_LTLIBRARIES = xineplug_post_visualizations.la xineplug_post_visualizations_la_SOURCES = \ visualizations.c fft.c fftscope.c oscope.c fftgraph.c diff --git a/src/video_out/vidix/drivers/Makefile.am b/src/video_out/vidix/drivers/Makefile.am index 3c0369af7..f438dde36 100644 --- a/src/video_out/vidix/drivers/Makefile.am +++ b/src/video_out/vidix/drivers/Makefile.am @@ -2,8 +2,6 @@ include $(top_srcdir)/misc/Makefile.common EXTRA_DIST = genfb_vid.c -libdir = $(XINE_PLUGINDIR)/vidix - if HAVE_VIDIX vidix_drivers = \ mach64_vid.la \ @@ -20,7 +18,7 @@ vidix_drivers = \ savage_vid.la endif -lib_LTLIBRARIES = $(vidix_drivers) +vidix_LTLIBRARIES = $(vidix_drivers) radeon_vid_la_SOURCES = radeon_vid.c radeon_vid_la_LDFLAGS = -avoid-version -module -lm |