summaryrefslogtreecommitdiff
path: root/src/xine-engine
AgeCommit message (Collapse)Author
2007-12-18Merge from 1.1.Darren Salt
2007-12-18Don't treat # in MRLs as literals or URI-decode raw filenames. [Bug 1784272]Darren Salt
2007-12-18Use variable-sized arrays rather than allocated buffer.Diego 'Flameeyes' Pettenò
2007-12-18Remove a memset after xine_xmalloc.Diego 'Flameeyes' Pettenò
2007-12-18Remove superfluous include.Diego 'Flameeyes' Pettenò
2007-12-18Fix MRL protocol matching (for demuxer lookup).Darren Salt
2007-12-15Remove a stray semicolon.Darren Salt
2007-12-14Merge from 1.1.Darren Salt
--HG-- rename : src/demuxers/demux_ogg.c => src/combined/xine_ogg_demuxer.c rename : src/libfaad/xine_faad_decoder.c => src/libxineadec/xine_faad_decoder.c
2007-12-14Fixed a crash that happened when a video output was closedMatthias Kretz
img->stream->video_fifo can be 0
2007-12-13Make _x_io_(file|tcp)_(write|read) accept a void* parameter.Diego 'Flameeyes' Pettenò
2007-12-13Make writing function use a void* parameters to avoid signedness warnings.Diego 'Flameeyes' Pettenò
2007-12-13Make _x_demux_read_header accept a void* as pointer to buffer.Diego 'Flameeyes' Pettenò
Removes some warnings in demuxers.
2007-12-13Use strcasestr rather than converting the mimetypes variables to lowercase.Diego 'Flameeyes' Pettenò
2007-12-12Merge with 1.2-plugins-changes.Diego 'Flameeyes' Pettenò
2007-12-12Remove xine_gui_send_vo_data (deprecated).Diego 'Flameeyes' Pettenò
2007-12-12Remove tvmode functions, deprecated for a while now.Diego 'Flameeyes' Pettenò
2007-12-11Don't export _x_demux_check_extension, now that plugins don't need it anymore.Diego 'Flameeyes' Pettenò
2007-12-11Check if a dot was found before dereferencing the pointer.Diego 'Flameeyes' Pettenò
2007-12-11Make _x_demux_check_extension check for protocol prefixes too if :/ is in ↵Diego 'Flameeyes' Pettenò
the string.
2007-12-11Rename METHOD_BY_EXTENSION to METHOD_BY_MRL, as it's used to identify ↵Diego 'Flameeyes' Pettenò
protocols too.
2007-12-11Let _x_demux_check_extension() consider empty extensions string as an ↵Diego 'Flameeyes' Pettenò
always-pass.
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-11Bump the interface version for video decoder plugins.Diego 'Flameeyes' Pettenò
2007-12-11Bump the interface version for audio decoder plugins.Diego 'Flameeyes' Pettenò
2007-12-11Bump the interface version for video output plugins.Diego 'Flameeyes' Pettenò
2007-12-11Bump the interface version for audio output plugins.Diego 'Flameeyes' Pettenò
2007-12-11Bump the interface version for SPU decoders.Diego 'Flameeyes' Pettenò
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 dgettext to localise the description string for plugins.Diego 'Flameeyes' Pettenò
2007-12-11Add a textdomain field to allow using a different i18n catalog for the ↵Diego 'Flameeyes' Pettenò
description translation.
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-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-12-09Merge from 1.1.Darren Salt
2007-12-09Enable the WMV VC1 (ffmpeg) codec.Darren Salt
--HG-- extra : transplant_source : %15%CD%0B%2C%F2g%03%B9%25%D4%B2%8BQ%1F%EB%BB%8F%28%9B%C8
2007-12-03Merge from 1.1.Darren Salt
--HG-- rename : src/demuxers/demux_ogg.c => src/combined/xine_ogg_demuxer.c
2007-12-04fifo_peek_int can return NULL (when non-blocking). make fifo_remove_int ↵Matthias Kretz
handle that case
2007-12-03Fixed a race condition between ao_loop and ao_close to not lose the last buffer.Matthias Kretz
In ao_loop only read the first buffer and remove it from the fifo only when the buffer has been written or is about to be discarded. This fixes the race between ao_loop and ao_close for good. Now fifo_remove_int may signal empty again right after removing the last buffer from the fifo.
2007-12-02Don't signal fifo->empty right after reading the last bufferMatthias Kretz
but only when a read was requested and the fifo is empty. Rationale: ao_close uses fifo_wait_empty to make sure all buffers were written to the driver before it calls close on the driver. But if empty is already signaled when ao_loop just reads the next buffer then ao_close might close the driver before ao_loop has a chance to send the buffer to the driver.
2007-12-02remove redundant checkMatthias Kretz
buf must be != NULL because of the while(!fifo->first) before and the buf->next after
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-23Merge.Darren Salt
2007-11-23log if send_headers returned with DEMUX_FINISHEDMatthias Kretz
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-15assert that not more than the buffersize is readMatthias Kretz
2007-11-15when the stream is paused fifo_wait_empty will wait forever. In that case weMatthias Kretz
discard all buffers before calling fifo_wait_empty
2007-11-11Merge transplanted patches.Darren Salt
2007-11-11Added FOURCC for VP6F.Claudio Ciccani