summaryrefslogtreecommitdiff
path: root/src/demuxers
AgeCommit message (Collapse)Author
2007-04-02Remove extraneous debug printf().Diego 'Flameeyes' Pettenò
CVS patchset: 8786 CVS date: 2007/04/02 09:51:53
2007-04-01Support multiple audio PID in MPEG TS. Patch by Julian Scheel (slightly ↵Diego 'Flameeyes' Pettenò
modified). CVS patchset: 8784 CVS date: 2007/04/01 22:49:07
2007-03-29More reordering to reduce padding.Diego 'Flameeyes' Pettenò
CVS patchset: 8773 CVS date: 2007/03/29 19:38:51
2007-03-29Reorder fields and make use of a bitmask for boolean flags.Diego 'Flameeyes' Pettenò
CVS patchset: 8772 CVS date: 2007/03/29 19:24:18
2007-03-29Reorder a few fields to, well, fill some holes.Diego 'Flameeyes' Pettenò
CVS patchset: 8771 CVS date: 2007/03/29 19:07:00
2007-03-29A little more reodering, and convert a few more fields to 1-bit flags.Diego 'Flameeyes' Pettenò
CVS patchset: 8762 CVS date: 2007/03/29 17:11:36
2007-03-29Reorder fields to remove a 4+4 bytes holes.Diego 'Flameeyes' Pettenò
CVS patchset: 8761 CVS date: 2007/03/29 17:03:06
2007-03-29Remove unused bytes_per_sec attribute on demux_ra_t. Move block_align and ↵Diego 'Flameeyes' Pettenò
make seek_flag a 1-bit field. This reduces as much as possible the padding. Note that block_align should remain on the same cacheline as the fifo pointers, as it's used at every chunk, while the rest of the fields are used only when seeking. CVS patchset: 8760 CVS date: 2007/03/29 17:00:32
2007-03-29Move streaminfo at the end of the structure to avoid padding.Diego 'Flameeyes' Pettenò
CVS patchset: 8759 CVS date: 2007/03/29 16:52:23
2007-03-29Reorder demux_tta_t structure so that all the important pointers and ↵Diego 'Flameeyes' Pettenò
variables fall into the same cacheline, while the header can simply remain on a different one, as it's needed only at the begin of the encoding. CVS patchset: 8758 CVS date: 2007/03/29 16:46:23
2007-03-29Disable logging that I've left enabled by mistake.Diego 'Flameeyes' Pettenò
CVS patchset: 8757 CVS date: 2007/03/29 16:32:12
2007-03-29Bitrate has to be 32-bit, or it overruns.Diego 'Flameeyes' Pettenò
CVS patchset: 8756 CVS date: 2007/03/29 16:21:48
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