Age | Commit message (Collapse) | Author | |
---|---|---|---|
2007-12-11 | Check if the extension is compatible with the plugin before trying to open it. | Diego 'Flameeyes' Pettenò | |
2007-12-11 | Update the plugins loader to use the new extensions and mimetypes attributes. | Diego 'Flameeyes' Pettenò | |
2007-12-11 | Transform get_extensions and get_mimetypes into strings. | Diego 'Flameeyes' Pettenò | |
Please note that this commit temporarily breaks building. | |||
2007-12-11 | Bump the interface version of the VCD plugin (which got missed earlier). | Darren Salt | |
2007-12-11 | Bump the interface version for video decoder plugins. | Diego 'Flameeyes' Pettenò | |
2007-12-11 | Bump the interface version for audio decoder plugins. | Diego 'Flameeyes' Pettenò | |
2007-12-11 | Bump the interface version for demuxer plugins. | Diego 'Flameeyes' Pettenò | |
2007-12-11 | Bump the interface version for video output plugins. | Diego 'Flameeyes' Pettenò | |
2007-12-11 | Bump the interface version for audio output plugins. | Diego 'Flameeyes' Pettenò | |
2007-12-11 | Bump the interface version for SPU decoders. | Diego 'Flameeyes' Pettenò | |
2007-12-11 | Bump the input plugins interface version to 18 as they got updated. | Diego 'Flameeyes' Pettenò | |
2007-12-11 | Merge from 1.2 main branch. | Diego 'Flameeyes' Pettenò | |
2007-12-11 | Fix thinko. | Diego 'Flameeyes' Pettenò | |
2007-12-11 | Mark wc3_pal_lookup static. | Diego 'Flameeyes' Pettenò | |
2007-12-11 | Don't use the if(foo) free(foo); construct, as free(NULL); is well defined. | Diego 'Flameeyes' Pettenò | |
2007-12-11 | Mark empty_spu static const. | Diego 'Flameeyes' Pettenò | |
2007-12-11 | Don't use two C files to build the two versions of directfb. Just add ↵ | Diego 'Flameeyes' Pettenò | |
-DDIRECTFB_X11 to CFLAGS. | |||
2007-12-11 | Add a default_demux_plugin_dispose macro, and use it when the plugin dispose ↵ | Diego 'Flameeyes' Pettenò | |
macro just calls free(). | |||
2007-12-11 | Use default_*_class_dispose macro whenever the class dispose function only ↵ | Diego 'Flameeyes' Pettenò | |
called free(). | |||
2007-12-11 | Define 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-11 | Use 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-11 | Use dgettext to localise the description string for plugins. | Diego 'Flameeyes' Pettenò | |
2007-12-11 | Add a textdomain field to allow using a different i18n catalog for the ↵ | Diego 'Flameeyes' Pettenò | |
description translation. | |||
2007-12-11 | Update all post plugins to the new identifier/description interface. Add _() ↵ | Diego 'Flameeyes' Pettenò | |
where missing, for i18n. | |||
2007-12-11 | Update libsputext demuxer, which I forgot on the previous run. | Diego 'Flameeyes' Pettenò | |
2007-12-11 | Update all misc plugins to the new identifier/description interface. Add _() ↵ | Diego 'Flameeyes' Pettenò | |
where missing, for i18n. | |||
2007-12-11 | Remove stray function. | Diego 'Flameeyes' Pettenò | |
2007-12-11 | Update all video decoder plugins to the new identifier/description ↵ | Diego 'Flameeyes' Pettenò | |
interface. Add _() where missing, for i18n. | |||
2007-12-11 | Update all audio decoder plugins to the new identifier/description ↵ | Diego 'Flameeyes' Pettenò | |
interface. Add _() where missing, for i18n. | |||
2007-12-11 | Update all combined plugins to the new identifier/description interface. Add ↵ | Diego 'Flameeyes' Pettenò | |
_() where missing, for i18n. | |||
2007-12-11 | Update all demux plugins to the new identifier/description interface. Add ↵ | Diego 'Flameeyes' Pettenò | |
_() where missing, for i18n. | |||
2007-12-11 | Update all input plugins to the new identifier/description interface. | Diego 'Flameeyes' Pettenò | |
2007-12-11 | Update all video output plugins to the new identifier/description interface. | Diego 'Flameeyes' Pettenò | |
2007-12-11 | Update to the new identifier/description interface and call _(). | Diego 'Flameeyes' Pettenò | |
2007-12-11 | Update all audio output plugins to the new identifier/description interface. | Diego 'Flameeyes' Pettenò | |
2007-12-11 | Update to the new identifier/description interface and call _(). | Diego 'Flameeyes' Pettenò | |
2007-12-11 | Leave 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-11 | Update the code not to use the get_* functions that were removed. | Diego 'Flameeyes' Pettenò | |
2007-12-11 | Replace 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-10 | Merge from 1.1. | Diego 'Flameeyes' Pettenò | |
2007-12-10 | Simplify 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-10 | Backport the PulseAudio plugin from 1.2 branch. | Diego 'Flameeyes' Pettenò | |
2007-12-10 | Don'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-10 | Remove pa_mutex, with the new threaded wait_for_operation there seems to be ↵ | Diego 'Flameeyes' Pettenò | |
no more race conditions. | |||
2007-12-10 | Don't use cork/uncork calls to handle pause and resume. | Diego 'Flameeyes' Pettenò | |
2007-12-10 | Replace 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-09 | Do the same for libxine2. | Darren Salt | |
2007-12-09 | Mark libxine1 as providing the libxine1-* packages which it replaces. | Darren Salt | |
2007-12-09 | Merge from 1.1. | Darren Salt | |
2007-12-09 | Enable 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 |