summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2007-12-11Don't export _x_demux_check_extension, now that plugins don't need it anymore.Diego 'Flameeyes' Pettenò
2007-12-11Fail when using BY_CONTENT detection, missing autodetection.Diego 'Flameeyes' Pettenò
2007-12-11Allow the TS demuxer to accept dvb streams; fix BY_MRL detection for slave.Diego 'Flameeyes' Pettenò
2007-12-11Check if a dot was found before dereferencing the pointer.Diego 'Flameeyes' Pettenò
2007-12-11Fail opening the device while using BY_CONTENT detection method, only allow ↵Diego 'Flameeyes' Pettenò
BY_MRL and EXPLITIC. Also report cdda:/ as extension so that the global BY_MRL check will check for that.
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-11Remove redundant METHOD_BY_EXTENSION checks now that libxine takes care of them.Diego 'Flameeyes' Pettenò
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-11Transform get_extensions and get_mimetypes into strings.Diego 'Flameeyes' Pettenò
Please note that this commit temporarily breaks building.
2007-12-11Bump the interface version of the VCD plugin (which got missed earlier).Darren Salt
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 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ò