summaryrefslogtreecommitdiff
path: root/src/demuxers
AgeCommit message (Collapse)Author
2007-12-13Make the edit_list_index parameter in get_next_edit_list_entry unsigned, ↵Diego 'Flameeyes' Pettenò
remove warnings.
2007-12-13Make parse_data_atom accept a constant buffer, removes warnings.Diego 'Flameeyes' Pettenò
2007-12-13Simplify code handling RDRF_ATOM, unbranch it.Diego 'Flameeyes' Pettenò
2007-12-13Change url in a char pointer, as it's a string, not a buffer.Diego 'Flameeyes' Pettenò
2007-12-13Change the way string_size is initialised, reduce the numer of temporary ↵Diego 'Flameeyes' Pettenò
operations with it.
2007-12-13Replace strncmp and strncpy with memcmp and memcpy where applicable.Diego 'Flameeyes' Pettenò
2007-12-13Add two missing types to constants.Diego 'Flameeyes' Pettenò
2007-12-13Use FOURCC comparison rather than multiple bytes comparison.Diego 'Flameeyes' Pettenò
--HG-- extra : transplant_source : D%BF%D7%DA%B0%F7%15%1A%96%2BV%DB%BF%85%05%AF%11%85%9B%1E
2007-12-13Update to the new id3 interface.Diego 'Flameeyes' Pettenò
--HG-- extra : transplant_source : %3C%98%D3%B8%10%A9%E0%8D%CB%21q%A2%ED%8B%96%25%05%84%EDk
2007-12-13Use id3v2_istag rather than manual comparison.Diego 'Flameeyes' Pettenò
--HG-- extra : transplant_source : %17IS%B7%1D%94%89f%9B%88%DEU%3E%25q%05%1DBw%87
2007-12-13Don't byteswap head, so that (machine-endian) ID3 tag macros can be tested. ↵Diego 'Flameeyes' Pettenò
Swap MPEG_MARKER to make it compatible. --HG-- extra : transplant_source : %FEP%3B%17E%84%B5%A9%FF%28%5B%18%20f%C0h%29hU%3D
2007-12-13Update the AAC demuxer to the new id3 interface and use FOURCC comparison.Diego 'Flameeyes' Pettenò
--HG-- extra : transplant_source : %1D%90%7D%EC%05%93%F9A%86%01h%BC%60%CD%FB%E4%AA/%03%7D
2007-12-13Update the FLAC demuxer to use the new id3 interface. Check the fLaC ↵Diego 'Flameeyes' Pettenò
signature through ME_FOURCC comparison. --HG-- extra : transplant_source : %8D%C9%D9%96%BC%B4%B0%B1%C0%9F%1D%01%F8%8A%5DX%F8%D5k%86
2007-12-13Remove the need for a result variable, simply return the value of the ↵Diego 'Flameeyes' Pettenò
_parse_tag function. Solves one uninitialised variable use. --HG-- extra : transplant_source : %9A._%DD%84%60SPH%3E%DF%D3%C0%D8y%9E-%BB%F1%C9
2007-12-13Report the whole ID3v2 signature when it's not recognised.Diego 'Flameeyes' Pettenò
--HG-- extra : transplant_source : %0D%1FR%99%3CQ%C7%0F%E6%D4%DB%5B%15%B0%BF3%E6.%25%B3
2007-12-13Use the ID3 tag macros to identify the correct _parse_tag function to use.Diego 'Flameeyes' Pettenò
--HG-- extra : transplant_source : %ED%0D%F6%ADf%2A%C2%8C%11%7C%C7%DB3%10%C6%BD%08%04%99%20
2007-12-13Use ME_FOURCC to define the ID3V2 tag macros.Diego 'Flameeyes' Pettenò
--HG-- extra : transplant_source : J%E3%E0%D8%D8%D4Cj%C1%93%F3%AD%DA%01%7CO%F8%1A%09p
2007-12-13Pass the new id3_signature parameter to the _parse_tag functions.Diego 'Flameeyes' Pettenò
--HG-- extra : transplant_source : %7F%AE%9A%FBV%3B%D3%AB%1DG%DE%BA%23%02%D7%0F%0A%D4%DAr
2007-12-13Use the new id3_signature parameter in id3v2_parse_header.Diego 'Flameeyes' Pettenò
--HG-- extra : transplant_source : %E4%DB%7ER%B2e%A0%FE%DF%03%BE%25%09%22%ADa%9D%CE%F4%87
2007-12-13Use ID3V2X_TAG and _MASK to identify ID3 signature.Diego 'Flameeyes' Pettenò
--HG-- extra : transplant_source : %88B%C1%C9%26%D9%8E%90%D6jW%E3%B0%F7%04%8E%AE%06h%9A
2007-12-13Define a generic ID3v2.x tag and a mask to identify it.Diego 'Flameeyes' Pettenò
--HG-- extra : transplant_source : %D77%80J%C1%FA%E6%1F%2A%84%15%D6%DA%10%B1%5D%1E1%F0%91
2007-12-13Remove FOURCC_TAG and replace with explicit BE_FOURCC.Diego 'Flameeyes' Pettenò
--HG-- extra : transplant_source : %8D%A1%26%2A%C6%8D%F0zA%FE%7BBKk2%F7%5D%B1%9B2
2007-12-13Replace the mp3_frame_header paramter (pointer to bytes) with a 32 bit ↵Diego 'Flameeyes' Pettenò
integer id3_signature. --HG-- extra : transplant_source : %9D%80%60W%B8%5E%13%F9%F1%1F%B6%3F%CE%98%F5B%16A%ACd
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-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-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-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 for demuxer plugins.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-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-11Add a textdomain field to allow using a different i18n catalog for the ↵Diego 'Flameeyes' Pettenò
description translation.
2007-12-11Update all demux plugins to the new identifier/description interface. Add ↵Diego 'Flameeyes' Pettenò
_() where missing, for i18n.
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-02silence stdout of ogg demuxerMatthias Kretz
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-25Fix a signedness issue in genre number validation.Darren Salt
Negative values would be accepted, resulting in junk in XINE_META_INFO_GENRE or a segfault.
2007-11-25Avoid any future need to alter ID3_GENRE_COUNT.Darren Salt
2007-11-25patch adding additional ID3 genresMaximilian Schwerin
2007-11-24Add option to disable Nosefart/NSF plugin building.Diego 'Flameeyes' Pettenò
This way you can get a safer build for binary redistribution.
2007-11-23Merge.Darren Salt
2007-11-23fix read_ogg_packet to really read all of the data; don't go into ↵Matthias Kretz
DEMUX_FINISHED from send_header
2007-11-20Merge from 1.1.Diego 'Flameeyes' Pettenò