summaryrefslogtreecommitdiff
path: root/src/input
AgeCommit message (Collapse)Author
2007-12-18Don't treat # in MRLs as literals or URI-decode raw filenames. [Bug 1784272]Darren Salt
2007-12-18Clean up recursive mkdir().Darren Salt
2007-12-18Mark the enctable static.Diego 'Flameeyes' Pettenò
2007-12-18Avoid a multiplication.Diego 'Flameeyes' Pettenò
2007-12-18Use asprintf.Diego 'Flameeyes' Pettenò
2007-12-18Use asprintf.Diego 'Flameeyes' Pettenò
2007-12-18Use strdup.Diego 'Flameeyes' Pettenò
2007-12-18Use strndup.Diego 'Flameeyes' Pettenò
2007-12-18Use calloc() when allocating an array of elements.Diego 'Flameeyes' Pettenò
(transplanted from e9e85d6bcc7e9aafb1dc019f3505de2dafe940bf) --HG-- extra : transplant_source : %E9%E8%5Dk%CC%7E%9A%AF%B1%DC%01%9F5%05%DE-%AF%E9%40%BF
2007-12-18Use calloc() when allocating an array of elements.Diego 'Flameeyes' Pettenò
2007-12-18Use strndup.Diego 'Flameeyes' Pettenò
2007-12-18Use asprintf where possible.Diego 'Flameeyes' Pettenò
2007-12-18Use variable-sized arrays rather than allocated buffers.Diego 'Flameeyes' Pettenò
2007-12-18Use asprintf().Diego 'Flameeyes' Pettenò
2007-12-18Use zeroed allocation instead of memset, and don't zero out a string that is ↵Diego 'Flameeyes' Pettenò
going to be fully sprintf'd.
2007-12-18Use calloc() when the allocated size would be counted by multiplying the ↵Diego 'Flameeyes' Pettenò
size of an item for the number of items. (transplanted from efc9d92af3d7927cbf5534b5612fd98af541ff95) --HG-- extra : transplant_source : %EF%C9%D9%2A%F3%D7%92%7C%BFU4%B5a/%D9%8A%F5A%FF%95
2007-12-18Use calloc() when the allocated size would be counted by multiplying the ↵Diego 'Flameeyes' Pettenò
size of an item for the number of items.
2007-12-14Remove internal FFmpeg reference from build system.Diego 'Flameeyes' Pettenò
2007-12-13Merge changes from 1.2 main.last-internal-ffmpegDiego 'Flameeyes' Pettenò
2007-12-13Mark dvb_mjdtime as static.Diego 'Flameeyes' Pettenò
2007-12-13Make sure that the sign of local variables and parameters of local functions ↵Diego 'Flameeyes' Pettenò
are the same.
2007-12-13Make sourcea bytes buffer.Diego 'Flameeyes' Pettenò
2007-12-13Make rmff_dump_pheader accept a bytes buffer.Diego 'Flameeyes' Pettenò
2007-12-13Make rmff_dump_header accept a void * parameter for buffer.Diego 'Flameeyes' Pettenò
2007-12-13Make rtsp_read_data accept a void* parameter for buffer.Diego 'Flameeyes' Pettenò
2007-12-12Merge from 1.2 main.Diego 'Flameeyes' Pettenò
2007-12-11Use libavutil's sha1 routine rather than adding an implementation of it.Diego 'Flameeyes' Pettenò
2007-12-11Remove a base64 decoding function, and use libavutil decoding function instead.Diego 'Flameeyes' Pettenò
2007-12-11Use libavutil's base64 routines rather than adding musicbrainz's to cdda plugin.Diego 'Flameeyes' Pettenò
2007-12-11Actually use the context already allocated by libavutil.Diego 'Flameeyes' Pettenò
2007-12-11Use libavutil's crc routines rather than xine-utils's code.Diego 'Flameeyes' Pettenò
2007-12-11Bump the interface version of the VCD plugin (which got missed earlier).Darren Salt
2007-12-11Bump the input plugins interface version to 18 as they got updated.Diego 'Flameeyes' Pettenò
2007-12-11Merge from 1.2 main branch.Diego 'Flameeyes' Pettenò
2007-12-11Don't use the if(foo) free(foo); construct, as free(NULL); is well defined.Diego 'Flameeyes' Pettenò
2007-12-11Use default_*_class_dispose macro whenever the class dispose function only ↵Diego 'Flameeyes' Pettenò
called free().
2007-12-11Define free() as the default dispose function for plugin classes.Diego 'Flameeyes' Pettenò
Most plugin classes in xine define a dispose function simply to call free(), but free() is ABI-compatible with our dispose functions, so add a macro that allows to pass free() directly as dispose function. It's an opt-in so that no extra conditional is needed, and plugin authors won't forget about providing a dispose function (if they need to).
2007-12-11Use N_() rather than _(), passing the string just once to gettext().Diego 'Flameeyes' Pettenò
This way the gettext code for description does not need to be repeated by every plugin.
2007-12-11Add a textdomain field to allow using a different i18n catalog for the ↵Diego 'Flameeyes' Pettenò
description translation.
2007-12-11Update all input plugins to the new identifier/description interface.Diego 'Flameeyes' Pettenò
2007-12-11Replace get_identifier/get_description functions with strings.Diego 'Flameeyes' Pettenò
This is the start of a new experimental branch, with the first objective being the replacement of the get_description and get_identifier functions with direct-access strings. The reason for this change is to reduce code size and time of execution. By replacing the functions with direct-access strings there is one less call to be done in those cases where the description has to be fetched. The solution is not yet definitive though, there are a couple of problems to take care of: - the use of N_() still makes it easy to internationalise the strings, but it requires for the string to be found on libxine2 catalog, which is not exactly a nice solution for external plugins; - it would be simpler to re-use the id field in plugin_info_t, and then move description there; it should reduce memory usage for the class structures; - I'm not really aware of any reason why get_description and get_identifier were used beside the idea of making i18n simpler. This probably would break a couple of frontends, especially if they have some internal plugins (like post-plugins), so it needs to be reviewed carefully before merging in 1.2 branch. My current goal is to get this in before 1.2 though, rather than waiting for 1.3.
2007-11-25Merge from 1.1.Darren Salt
Some fixups were required for the kfreebsd patch; needs testing. --HG-- rename : src/video_out/libdha/ports.c => contrib/libdha/ports.c rename : src/demuxers/demux_ogg.c => src/combined/xine_ogg_demuxer.c rename : src/libxineadec/xine_vorbis_decoder.c => src/combined/xine_vorbis_decoder.c
2007-11-19add support for GNU/kFreeBSDPetr Salinger ext:(%20)
It changes some "defined (__FreeBSD__)" into "defined (__FreeBSD_kernel__)" and "__FreeBSD_version" into "__FreeBSD_kernel_version". The changes are performed on places, where feature of kernel is tested. On some other places, feature of userland/libc is tested, on them "defined (__FreeBSD__)" remains. As proposed, include/configure.h cause __FreeBSD_kernel__ be defined if __FreeBSD__ is defined. --HG-- extra : transplant_source : %25%96K%05%E4Y%B15%94%60%15%FE1%8Ah%26Xy%8C/
2007-11-19Remove internal copies of libcdio and libvcd. This way we don't have to care ↵Diego 'Flameeyes' Pettenò
about bugs in those two on newer versions of operating systems.
2007-11-14Move CRC32 code into a common file (& out of the DVB input & TS demux plugins).Darren Salt
2007-11-14Merge from 1.1.Darren Salt
2007-11-13Missing channels.conf (ATSC)Tom Shield
load_channels was being called without checking the tuner fontend type, so channels.conf could not be decoded. Tested for ATSC only.
2007-11-13Improve the "no channels.conf" message; tidy up local variable initialisation.Darren Salt
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-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