summaryrefslogtreecommitdiff
path: root/src/xine-engine/load_plugins.c
AgeCommit message (Collapse)Author
2007-12-15Remove a stray semicolon.Darren Salt
2007-12-13Use strcasestr rather than converting the mimetypes variables to lowercase.Diego 'Flameeyes' Pettenò
2007-12-11Rename METHOD_BY_EXTENSION to METHOD_BY_MRL, as it's used to identify ↵Diego 'Flameeyes' Pettenò
protocols too.
2007-12-11Remove stray variable.Diego 'Flameeyes' Pettenò
2007-12-11Check if the extension is compatible with the plugin before trying to open it.Diego 'Flameeyes' Pettenò
2007-12-11Update the plugins loader to use the new extensions and mimetypes attributes.Diego 'Flameeyes' Pettenò
2007-12-11Use dgettext to localise the description string for plugins.Diego 'Flameeyes' Pettenò
2007-12-11Leave to the plugin the call to gettext exactly as before.Diego 'Flameeyes' Pettenò
This way external plugins can use their own gettext catalog for i18n.
2007-12-11Update the code not to use the get_* functions that were removed.Diego 'Flameeyes' Pettenò
2007-11-10Merge from 1.1.Darren Salt
--HG-- rename : src/libxineadec/nsf.c => src/combined/nsf_decoder.c rename : src/demuxers/demux_nsf.c => src/combined/nsf_demuxer.c rename : src/combined/combined_wavpack.c => src/combined/wavpack_combined.c rename : src/combined/combined_wavpack.h => src/combined/wavpack_combined.h rename : src/combined/decoder_wavpack.c => src/combined/wavpack_decoder.c rename : src/combined/demux_wavpack.c => src/combined/wavpack_demuxer.c rename : src/demuxers/demux_ogg.c => src/combined/xine_ogg_demuxer.c rename : src/libxineadec/xine_speex_decoder.c => src/combined/xine_speex_decoder.c rename : src/libxinevdec/xine_theora_decoder.c => src/combined/xine_theora_decoder.c rename : src/libxineadec/xine_vorbis_decoder.c => src/combined/xine_vorbis_decoder.c rename : src/liba52/xine_a52_decoder.c => src/libxineadec/xine_a52_decoder.c rename : src/libdts/xine_dts_decoder.c => src/libxineadec/xine_dts_decoder.c rename : src/libfaad/xine_faad_decoder.c => src/libxineadec/xine_faad_decoder.c rename : src/libmad/xine_mad_decoder.c => src/libxineadec/xine_mad_decoder.c rename : src/libmusepack/xine_musepack_decoder.c => src/libxineadec/xine_musepack_decoder.c
2007-11-10Delete most of the CVS $Id$/$Log$ lines.Darren Salt
--HG-- extra : transplant_source : %E0%D0%C5%8B%BEU%DD%24%5D7%1F%ADV%AD%EB%23%CBU%80%EB
2007-11-09Merge FSF address changes from 1.1 branch.Diego 'Flameeyes' Pettenò
--HG-- rename : src/combined/decoder_flac.c => src/combined/flac_decoder.c rename : src/combined/demux_flac.c => src/combined/flac_demuxer.c rename : src/libxineadec/nsf.c => src/combined/nsf_decoder.c rename : src/demuxers/demux_nsf.c => src/combined/nsf_demuxer.c rename : src/combined/combined_wavpack.c => src/combined/wavpack_combined.c rename : src/combined/combined_wavpack.h => src/combined/wavpack_combined.h rename : src/combined/decoder_wavpack.c => src/combined/wavpack_decoder.c rename : src/combined/demux_wavpack.c => src/combined/wavpack_demuxer.c rename : src/demuxers/demux_ogg.c => src/combined/xine_ogg_demuxer.c rename : src/libxineadec/xine_speex_decoder.c => src/combined/xine_speex_decoder.c rename : src/libxinevdec/xine_theora_decoder.c => src/combined/xine_theora_decoder.c rename : src/libxineadec/xine_vorbis_decoder.c => src/combined/xine_vorbis_decoder.c rename : src/liba52/xine_a52_decoder.c => src/libxineadec/xine_a52_decoder.c rename : src/libdts/xine_dts_decoder.c => src/libxineadec/xine_dts_decoder.c rename : src/libfaad/xine_faad_decoder.c => src/libxineadec/xine_faad_decoder.c rename : src/libmusepack/xine_musepack_decoder.c => src/libxineadec/xine_musepack_decoder.c
2007-11-09Update FSF address on non-contributed code and COPYING files.Diego 'Flameeyes' Pettenò
For contributed code, leave whatever the version we last synced for is using to make simpler future syncs.
2007-07-19Use asprintf when generating the decoder priority description.Darren Salt
2007-06-15Change the prototype of xine_list_post_plugins_typed(), to avoid a warning.Diego 'Flameeyes' Pettenò
2007-06-04fallback to none output when the device is unpluggedMatthias Kretz
2007-06-04fallback to none output when the device is unpluggedMatthias Kretz
2007-04-14Use xine_xcalloc instead of xine_xmalloc when mutiplying the number of ↵Diego 'Flameeyes' Pettenò
elements by the size of the single element.
2007-04-13Avoid strlen on a literal, use a sizeof.Diego 'Flameeyes' Pettenò
2007-04-13Remove alloca.h inclusion, no more needed with libxdg-basedir.Diego 'Flameeyes' Pettenò
2007-04-13Use libxdg-basedir to discover the cache directory to use, rather than doing ↵Diego 'Flameeyes' Pettenò
the check manually.
2007-04-13Save plugins' cache in the defined cache home directory as per XDG Base ↵Diego 'Flameeyes' Pettenò
Directory Specification. With this change, xine-lib starts abiding to the XDG Base Directory Specification, allowing the user to define a different path to save its cache data (by setting XDG_CACHE_HOME environment variable).
2007-04-08Mark various private arrays, structs & fn parameters as static and/or const.Darren Salt
Two of the modified files are headers, but each contains definitions as well as declarations and is only ever used once.
2007-02-19Fix building with LOG enabled.Diego 'Flameeyes' Pettenò
CVS patchset: 8602 CVS date: 2007/02/19 23:33:33
2007-01-18Handle strings coming from plugins as constants.Diego 'Flameeyes' Pettenò
CVS patchset: 8521 CVS date: 2007/01/18 23:30:18
2006-11-23When initializing the class of a video output pluginClaudio Ciccani
the visual type should be checked too. That because a plugin with the same id may support different visuals (e.g. xv -> VISUAL_TYPE_X11, xv -> VISUAL_TYPE_X11_2). CVS patchset: 8388 CVS date: 2006/11/23 21:05:31
2006-10-28new visual type XINE_VISUAL_TYPE_X11_2 with configurable X11 locking.Miguel Freitas
allow developers to use special locking support of their plataform (like QT library mutex). note: only xshm has been ported. based on Christoph Pfister's patch. CVS patchset: 8350 CVS date: 2006/10/28 17:02:51
2006-10-16Fixed several warnings (but warnings due to APIs not solved).František Dvořák
CVS patchset: 8344 CVS date: 2006/10/16 22:18:24
2006-09-26When there's no plugin to replace, output a log, and skip the plugin ↵Diego 'Flameeyes' Pettenò
entirely, to avoid an off-by-one in decoder_map. Found by Coverity Scan CID 122. CVS patchset: 8304 CVS date: 2006/09/26 21:32:08
2006-08-12don't report extensions/mimetypes if required decoder is missingMiguel Freitas
(implemented for mp3 demuxer only) CVS patchset: 8177 CVS date: 2006/08/12 01:43:26
2006-07-21Fix building with LOG enabled.Diego 'Flameeyes' Pettenò
CVS patchset: 8137 CVS date: 2006/07/21 03:31:42
2006-06-20Fix generic warnings.Diego 'Flameeyes' Pettenò
CVS patchset: 8063 CVS date: 2006/06/20 00:35:07
2006-04-08Ancient platforms support:František Dvořák
- rint, lrint, M_PI (ffmpeg and goom) - avoid mkdir warnings - check for older _GUID_DEFINED too - ressurected generating inttypes, cleaned public os_types.h - moved function redefiniton used only in the old MSVC to central place Windows port update: - build internal ffmpeg: - workaround 'near' keyword problem - proper using __declspec(dllimport) Other changes: - LIBFFMPEG_CFLAGS --> LIBFFMPEG_CPPFLAGS CVS patchset: 7964 CVS date: 2006/04/08 16:42:23
2006-02-14Fix a compiler warning.Darren Salt
CVS patchset: 7897 CVS date: 2006/02/14 18:47:46
2006-02-01Fix the sorting of plugin priorities, as per Thibaut's mailBastien Nocera
"The plugin_node_comparator function used by the plugin sorted arrays sorts the plugins by priority ASC instead of DESC." CVS patchset: 7860 CVS date: 2006/02/01 15:11:42
2006-01-27Adapt the engine to the new list code.Thibaut Mattern
CVS patchset: 7848 CVS date: 2006/01/27 07:46:09
2005-11-28*BUGFIX*František Dvořák
Improved cross-compiling: detect and precedence of the host-specific libs W32dll: enabled by platforms as originaly, user can override it Fixed shell errors in the Makefile of the hackersguide Detect the place of SDL header independently on platform Fixed spelling in CDDA, include the header sys/param.h if available Fixed format strings (fix warnings (or even bugs) on Gentoo/FreeBSD) CVS patchset: 7815 CVS date: 2005/11/28 12:24:56
2005-09-19*BUGFIX*František Dvořák
added missing mutex init in xine_ticket (fixes pause assert with win32-pthreads) added missing destroys due to pthread doc spells and houskeeping use directx of older versions too, possibility to use xine w/o HW accel CVS patchset: 7738 CVS date: 2005/09/19 16:14:02
2005-09-11make Alien happier ;-)Miguel Freitas
audio can be heard with non-1X speeds if audio.synchronization.slow_fast_audio is set CVS patchset: 7726 CVS date: 2005/09/11 22:07:48
2005-09-11_x_load_video_output_plugin() by Jason TackaberryMiguel Freitas
CVS patchset: 7723 CVS date: 2005/09/11 00:11:09
2005-08-30Better names for directory separators.František Dvořák
CVS patchset: 7715 CVS date: 2005/08/30 15:27:58
2005-08-29*BUGFIX*František Dvořák
Windows ports updates: - finished M$VC port update - moved xine plugins back to normal location for Windows ports, added relative directories (used relative to ${prefix}), make sure it's thread-safe (but it's still hacky) - fixed ugly bug with loading plugins, when working drive was differrent from plugins directory directory - directory and subdirectory separator called as platform specific - fix crash with newer win32 pthread (missing mutex_init in vo plugin), yes! - small doc update CVS patchset: 7712 CVS date: 2005/08/29 15:28:16
2005-08-25*BUGFIX*František Dvořák
Windows ports fixes and improvements due to my current work on toxine: - first experiments with external win32 pthreads, more portable code (pthread_t may be a struct) - headers refactored - moved dirent win32 replacement to lib/, hide it for frontends, used system version, if found, not used non-POSIX dirent->d_reclen (this item doesn't work in MinGW), fix memleak in dvb - separated settings for postproc and avcodec when using external ffmpeg - check for malloc.h in public xine.m4, used it conditionally in xine headers - replaced random() by POSIX more common rand() - prevent one segfault in directx vo plugin, if fails - M$VC port update CVS patchset: 7709 CVS date: 2005/08/25 15:36:29
2005-07-18fix problem with static plugins reported by Jason TackaberryMiguel Freitas
CVS patchset: 7659 CVS date: 2005/07/18 01:46:02
2005-07-17Fix filename string reallocation in plugin loader.Darren Salt
(Based on a patch from Stefan Bruens <lurch@gmx.li>.) CVS patchset: 7648 CVS date: 2005/07/17 16:52:14
2005-05-14**BUGFIX**Miguel Freitas
don't stop looking for plugins just because one of them has failed to initialize. fix the problem of xine not loading anything (first plugin was gnome-vfs and it doesn't work here) CVS patchset: 7536 CVS date: 2005/05/14 16:00:40
2005-05-14**BUGFIX**Miguel Freitas
fix a couple of places were catalog->lock was not released (causing lockup/deadlock). cleanup some functions to return at a single place so we won't make this mistake again. (please double check - i'm a little rusty on xine hacking ;-) now i have to find out why my xine checkout is not able to load any input plugins... CVS patchset: 7535 CVS date: 2005/05/14 15:41:15
2005-04-20**BUGFIX**Michael Roitzsch
snprintf(s, sizeof(s), ...) is safe; no need to waste one byte CVS patchset: 7473 CVS date: 2005/04/20 17:08:56
2005-04-13**BUGFIX**Daniel Caujolle-Bert
was parsing the wrong description array. CVS patchset: 7457 CVS date: 2005/04/13 19:07:17
2005-04-10moved duplicated code to a function.Thibaut Mattern
sprintf -> snprintf replacements CVS patchset: 7455 CVS date: 2005/04/10 16:23:05