summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2007-12-11Bump the interface version for demuxer 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-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-11Fix thinko.Diego 'Flameeyes' Pettenò
2007-12-11Mark wc3_pal_lookup static.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-11Mark empty_spu static const.Diego 'Flameeyes' Pettenò
2007-12-11Don't use two C files to build the two versions of directfb. Just add ↵Diego 'Flameeyes' Pettenò
-DDIRECTFB_X11 to CFLAGS.
2007-12-11Add a default_demux_plugin_dispose macro, and use it when the plugin dispose ↵Diego 'Flameeyes' Pettenò
macro just calls free().
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-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-11Update all post plugins to the new identifier/description interface. Add _() ↵Diego 'Flameeyes' Pettenò
where missing, for i18n.
2007-12-11Update libsputext demuxer, which I forgot on the previous run.Diego 'Flameeyes' Pettenò
2007-12-11Update all misc plugins to the new identifier/description interface. Add _() ↵Diego 'Flameeyes' Pettenò
where missing, for i18n.
2007-12-11Remove stray function.Diego 'Flameeyes' Pettenò
2007-12-11Update all video decoder plugins to the new identifier/description ↵Diego 'Flameeyes' Pettenò
interface. Add _() where missing, for i18n.
2007-12-11Update all audio decoder plugins to the new identifier/description ↵Diego 'Flameeyes' Pettenò
interface. Add _() where missing, for i18n.
2007-12-11Update all combined plugins to the new identifier/description interface. Add ↵Diego 'Flameeyes' Pettenò
_() where missing, for i18n.
2007-12-11Update all demux plugins to the new identifier/description interface. Add ↵Diego 'Flameeyes' Pettenò
_() where missing, for i18n.
2007-12-11Update all input plugins to the new identifier/description interface.Diego 'Flameeyes' Pettenò
2007-12-11Update all video output plugins to the new identifier/description interface.Diego 'Flameeyes' Pettenò
2007-12-11Update to the new identifier/description interface and call _().Diego 'Flameeyes' Pettenò
2007-12-11Update all audio output plugins to the new identifier/description interface.Diego 'Flameeyes' Pettenò
2007-12-11Update to the new identifier/description interface and call _().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-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-10Merge from 1.1.Diego 'Flameeyes' Pettenò
2007-12-10Simplify Pulse plugin reverting some of today's changes and going back from ↵Diego 'Flameeyes' Pettenò
there. Instead of using a thread to watch for completion, use mutexes where needed. Don't wait for operation completion for volume changes, they can happen asynchronously too.
2007-12-10Backport the PulseAudio plugin from 1.2 branch.Diego 'Flameeyes' Pettenò
2007-12-10Don't run the infinite loop when checking operations.Diego 'Flameeyes' Pettenò
Instead a condition is signalled when adding new entries, and waited for if no entries are present.
2007-12-10Remove pa_mutex, with the new threaded wait_for_operation there seems to be ↵Diego 'Flameeyes' Pettenò
no more race conditions.
2007-12-10Don't use cork/uncork calls to handle pause and resume.Diego 'Flameeyes' Pettenò
2007-12-10Replace wait_for_operation() with a threaded version to avoid race conditions.Diego 'Flameeyes' Pettenò
Note that the code is incomplete: the infinite loop without sleep will create unneeded wakeups and waste resources.
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-08spudvb osd update fixChristophe Thommeret
- Allow visible region updates. - Resize OSD at drawing time. --HG-- extra : transplant_source : %17%ECZ%D0j%2C%BC%06%7CO%3A%F0%C7u%A3%86%DE%8Bb%D3
2007-12-07Merge from 1.1.Diego 'Flameeyes' Pettenò
2007-12-07Don't try to free the frame if it's not allocated. Fixes bug FS#3.Diego 'Flameeyes' Pettenò
2007-12-07Fix compilation of DXR3 support with external ffmpeg. Untested with actual DXR3.Darren Salt
Compilation was "broken" by ffmpeg rev. 9283.
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-02silence stdout of ogg demuxerMatthias Kretz