summaryrefslogtreecommitdiff
path: root/src/demuxers
AgeCommit message (Collapse)Author
2007-03-29Code cleanup: don't export all the bits read in the header to the whole ↵Diego 'Flameeyes' Pettenò
plugin, only a subset of the information is needed, so hide the rest in an anonymous structure inside the parsing function. This reduces the header structure size to 24 rather than 40 (of the version already reduced by using bitmasks) and allows it to stay in a single cacheline. Also, don't consider those flags that we don't use; leave the code in place so that if they need to be parsed in the future they can, but under #if 0 so that it's not compiled. Move the tables for mp3's magic constants inside the parsing function, to hide them from the global namespace, and resize them to use uint16_t rather than int. Use memcpy rather than copying the bytes one by one for the xing header. CVS patchset: 8755 CVS date: 2007/03/29 16:01:30
2007-03-26More bitmasks, this might be interesting, as it reduces the size quite a ↵Diego 'Flameeyes' Pettenò
bit, padding or no padding. CVS patchset: 8754 CVS date: 2007/03/26 21:52:12
2007-03-26Optimise the demux_mpeg_pes_t structure a bit, instead of using two int32_t ↵Diego 'Flameeyes' Pettenò
as boolean, and one int for just two LSBs, use a 1/1/2 bitmask, saves 11 bytes of memory (and probably also cpu instructions as there is almost no arithmetic done with it, but just logic that can be easily used bitwise. CVS patchset: 8753 CVS date: 2007/03/26 21:18:52
2007-03-26Add support for H.264 video stream in PES packets. Patch by Reinhard Nissl.Diego 'Flameeyes' Pettenò
CVS patchset: 8752 CVS date: 2007/03/26 21:06:32
2007-03-24Make sure that the big tables are both static and const, so that they don't ↵Diego 'Flameeyes' Pettenò
get loaded into shared memory for copy-on-write. CVS patchset: 8745 CVS date: 2007/03/24 03:14:15
2007-03-22Instead of rewriting the install and uninstall rules for headers, simply ↵Diego 'Flameeyes' Pettenò
change their class to xineinclude, and set xineincludedir in Makefile.common. CVS patchset: 8737 CVS date: 2007/03/22 17:37:17
2007-03-19Cleanup block-based support in AC3 and DTS demuxers. Original patch by ↵Diego 'Flameeyes' Pettenò
Matthias Kretz. CVS patchset: 8713 CVS date: 2007/03/19 16:42:32
2007-03-17Use memcmp to check for the WAV signature; use xine_xmalloc rather than ↵Diego 'Flameeyes' Pettenò
simply malloc. CVS patchset: 8708 CVS date: 2007/03/17 20:57:04
2007-03-17Simplfiy the Makefile.am, set AM_LDFLAGS rather than repeating it all over, ↵Diego 'Flameeyes' Pettenò
use -Wl,-z,defs if supported, pass libraries' CFLAGS variables only to the relevant demuxers, correctly pass AM_CFLAGS (VISIBILITY_FLAG) to the demuxers that also pass extra CFLAGS. CVS patchset: 8702 CVS date: 2007/03/17 15:17:24
2007-03-17When parsing flv metadata, do not assume that keywords are zero-terminated andClaudio Ciccani
compare the keyword's length too. CVS patchset: 8701 CVS date: 2007/03/17 11:29:43
2007-03-17Do not send duration extra info when framerate is not known.Claudio Ciccani
CVS patchset: 8700 CVS date: 2007/03/17 09:17:19
2007-03-12Allow DTS audio tracks in Matroska files. Sample reported by Stefan Monov.Diego 'Flameeyes' Pettenò
CVS patchset: 8663 CVS date: 2007/03/12 16:27:21
2007-03-09Test presence of alloca.h and include it if present; suggested by a patch ↵Diego 'Flameeyes' Pettenò
from Albert Lee. The check is needed to work on FreeBSD. CVS patchset: 8644 CVS date: 2007/03/09 23:18:19
2007-03-03Reduce priority of aac demuxer, so that it doesn't crash when playing online ↵Diego 'Flameeyes' Pettenò
streams that are mp3s (as well as other nasty things that happened before). CVS patchset: 8638 CVS date: 2007/03/03 02:06:09
2007-03-03Add two extra functions (inline as they are just a return statement) that ↵Diego 'Flameeyes' Pettenò
checks if a preamble is of an ID3v2 tag, and that calculate the size of the tag (to avoid repeating the same code over and over and over; the size of the shared object is reduced. Also make demux_flac use the id3.c functions to parse the eventual ID3 header. CVS patchset: 8637 CVS date: 2007/03/03 01:41:16
2007-03-03Add a function to parse a generic ID3v2 tag, and make both demux_aac and ↵Diego 'Flameeyes' Pettenò
demux_mpgaudio use it without repeating the same code. CVS patchset: 8636 CVS date: 2007/03/03 00:58:52
2007-03-03Instead of blindly ignoring the ID3v2 tags, try to parse them. The switch ↵Diego 'Flameeyes' Pettenò
block is repetitive as almost the same is implemented in demux_mpgaudio, so I'll work on that now. CVS patchset: 8635 CVS date: 2007/03/03 00:33:51
2007-03-03Use LOG_MODULE in the log messages, so that during copy and paste I don't ↵Diego 'Flameeyes' Pettenò
end up leaving demux_mpgaudio in demux_flac or demux_aac. CVS patchset: 8634 CVS date: 2007/03/03 00:02:30
2007-03-02Simplify a lot the code for ID3v2 skip.Diego 'Flameeyes' Pettenò
CVS patchset: 8633 CVS date: 2007/03/02 23:46:29
2007-03-02Fixed content type detection for AAC (seekable) streams with ID3v2 tags ↵Diego 'Flameeyes' Pettenò
prefixed clobbering the preview buffer, by skipping over the tag. CVS patchset: 8632 CVS date: 2007/03/02 20:07:33
2007-02-25Remove unused variable.Diego 'Flameeyes' Pettenò
CVS patchset: 8628 CVS date: 2007/02/25 18:04:57
2007-02-20Fix a lot of format warnings in lprintf calls (mostly %ldd -> %"PRId64").Diego 'Flameeyes' Pettenò
CVS patchset: 8608 CVS date: 2007/02/20 00:34:55
2007-02-08Remove any possibility of strcpy/sprintf overflows wrt front ends requestingDarren Salt
language & subtitle strings (given a buffer of >= XINE_LANG_MAX bytes). Also fixes an off-by-one buffer termination in the TS code. (Note: compile-tested only.) CVS patchset: 8592 CVS date: 2007/02/08 02:40:22
2007-02-03Broken MIME type.Darren Salt
CVS patchset: 8588 CVS date: 2007/02/03 23:56:32
2007-01-24Remove demux_wavpack.c from here, as it's being moved in a different directory.Diego 'Flameeyes' Pettenò
CVS patchset: 8550 CVS date: 2007/01/24 04:49:41
2007-01-23- Don't try to print "<title> / <chapter>" if there's no title, avoidBastien Nocera
things like "(null) / Chapter 1" when the title isn't available (and a possible crasher on non-Linux platforms) CVS patchset: 8547 CVS date: 2007/01/23 23:20:23
2007-01-23Correctly report the current progress of the song, and remove this->length ↵Diego 'Flameeyes' Pettenò
attribute, as it's just used once. CVS patchset: 8545 CVS date: 2007/01/23 15:42:15
2007-01-23Return the correct length for the stream.Diego 'Flameeyes' Pettenò
CVS patchset: 8544 CVS date: 2007/01/23 15:09:39
2007-01-23Set audio channels, samplerate and bits per sample properties.Diego 'Flameeyes' Pettenò
CVS patchset: 8543 CVS date: 2007/01/23 15:05:58
2007-01-22Added mimetype application/ogg.Claudio Ciccani
Use a more generic description for application/(x-)ogg mimetype (i.e. "Ogg Stream"). CVS patchset: 8542 CVS date: 2007/01/22 17:33:35
2007-01-22Must check whether "key" is NULL when parsing flash vars.Claudio Ciccani
CVS patchset: 8541 CVS date: 2007/01/22 17:07:08
2007-01-22Parse the keyframes list for faster seek.Claudio Ciccani
CVS patchset: 8540 CVS date: 2007/01/22 16:25:08
2007-01-19Make get_mrl return a const char * too.Diego 'Flameeyes' Pettenò
CVS patchset: 8524 CVS date: 2007/01/19 01:05:24
2007-01-19Make get_description get_identifier get_extensions get_mimetypes return a ↵Diego 'Flameeyes' Pettenò
constant string, and make the extensions and mrl vaiables usually declared when testing extension demux strategy constants too. CVS patchset: 8523 CVS date: 2007/01/19 00:26:39
2007-01-18Mark pointers as const wherever possible, as an extra safety. Code ↵Diego 'Flameeyes' Pettenò
generation isn't changing. CVS patchset: 8517 CVS date: 2007/01/18 21:06:26
2007-01-14Support VP6 video.Claudio Ciccani
CVS patchset: 8508 CVS date: 2007/01/14 16:55:25
2007-01-07Fix demuxing of uncompressed VobSub subtitles in Matroska filesMathieu Olivier
CVS patchset: 8490 CVS date: 2007/01/07 12:33:50
2007-01-03Support setting the playback start time over MMS.Claudio Ciccani
CVS patchset: 8485 CVS date: 2007/01/03 15:12:37
2006-12-26 * Allow decoding of MusePack SV 7.x files (7.1 files at least play fine).Diego 'Flameeyes' Pettenò
CVS patchset: 8464 CVS date: 2006/12/26 17:40:37
2006-12-26 * Implement a True Audio files demuxer. [bug #1586381]Diego 'Flameeyes' Pettenò
CVS patchset: 8463 CVS date: 2006/12/26 16:59:55
2006-12-26Fix LOG_MODULE definition to be the same as the name of the unit file.Diego 'Flameeyes' Pettenò
CVS patchset: 8462 CVS date: 2006/12/26 14:28:48
2006-12-26 * Implement a WavPack files demuxer, using WavPack library (only for demuxingDiego 'Flameeyes' Pettenò
as the decoding is left entirely to FFmpeg); it's still in its infancy, but it should be possible to remove WavPack dependency entirely in the future. CVS patchset: 8461 CVS date: 2006/12/26 03:22:28
2006-12-25 * Implement at least a partial content-based detection of ModPlug-decodedDiego 'Flameeyes' Pettenò
module files, using the magic numbers from GNU file. This allows to open module files based on content rather than on their extension only. [bug #1445746] CVS patchset: 8445 CVS date: 2006/12/25 17:39:39
2006-12-25 * Fix Shorten demuxer: the whole ajkg signature has to be found, not onlyDiego 'Flameeyes' Pettenò
one character of it. [bug #1601134] CVS patchset: 8444 CVS date: 2006/12/25 16:54:56
2006-12-23Fixed mimetype description string.Claudio Ciccani
CVS patchset: 8436 CVS date: 2006/12/23 14:43:16
2006-12-22Check whether or not we are playing before calling input_plugin->seek_time().Claudio Ciccani
CVS patchset: 8434 CVS date: 2006/12/22 16:45:44
2006-12-19Privilege "max_bitrate" over "length" to compute the byterateClaudio Ciccani
(because the file may be truncated). CVS patchset: 8423 CVS date: 2006/12/19 11:15:14
2006-12-18Partially implemented RTSP seekability:Claudio Ciccani
support starting the playback at an optional time by delaying the PLAY request upon the first call to rtsp_session_read() and setting the playback start time via input_plugin->seek_time(). CVS patchset: 8422 CVS date: 2006/12/18 21:31:47
2006-12-15Parse framerate information.Claudio Ciccani
Send bitmap info header to the decoder. Notify decoder about key frames. CVS patchset: 8419 CVS date: 2006/12/15 14:33:20
2006-12-15Added BUF_AUDIO_FLVADPCM (Flash ADPCM).Claudio Ciccani
CVS patchset: 8418 CVS date: 2006/12/15 11:31:28