summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2009-12-13TTA demux: Fix a buffer overflowKelvie Wong
It can be the case that the header is larger than buf->max_size (8 kilobytes), especially for slightly larger files. This sends them in parts so we don't overfill the buffer.
2009-12-11TTA demux: fix buffer->extra_info->total_timeKelvie Wong
Supposed to be in milliseconds; totalframes is only approx. total seconds.
2009-12-11TTA demux: don't read past the last frame.Kelvie Wong
I don't think whoever wrote this played a TTA file all the way to the end.
2009-12-06Finish implementing the TTA demuxerKelvie Wong
* Return the correct stream length * Return the current time * Implement seeking --- src/demuxers/demux_tta.c | 47 ++++++++++++++++++++++++++++++++++++++++----- 1 files changed, 41 insertions(+), 6 deletions(-) --HG-- extra : transplant_source : D%27%B7%5C%C4%95Ra%90E%DD%99IG%CF%5D%21%27zN
2009-12-06Fix a couple of memory leaks.Kelvie Wong
--- src/demuxers/demux_flac.c | 1 + src/demuxers/demux_tta.c | 1 + 2 files changed, 2 insertions(+), 0 deletions(-) --HG-- extra : transplant_source : C%21X%B8%E1p%D2%8E%E0%26%CA%3E%09%8B%09%16%19%C1CQ
2009-12-05Add mimetypes for the TTA demuxerKelvie Wong
I've noticed that a lot of the demuxers don't have mimetypes -- Nokia and KDE's Phonon (when using the Xine backend, and consequently this bothers all Amarok users) depend on the mimetypes to see what types of files it can process. This adds support for the True Audio data type, which scratches my itch; I'm sure there are several other demuxers that need a similar change.
2009-12-05Build fix (undefined symbol) for when using older ffmpeg.Darren Salt
2009-12-04Bump the FLAC decoder's priority above ffmpegaudio, and build it by default.Darren Salt
2009-12-03Use unsigned int, not uint. Fix up format strings where (uint)size_t was used.Darren Salt
2009-12-03Compile error in xine_hdmv_decoder.c on mingw+msys: ERROR is a reserved macro.Carlo Bramini
TRACE and ERROR are now prefixed with XINE_HDMV_.
2009-12-03Linkage error on minggw+msys when building demux_mpeg: libintl_printf is ↵Carlo Bramini
undefined.
2009-12-01Fork failure messages shouldn't be debug-only.Darren Salt
2009-11-30Trim trailing space & reduce space+tab.Darren Salt
2009-11-30Demux BluRay DTS and TrueHD audio streamsPetri Hintukainen
2009-11-28Fixed PMT parsing when PMT does not fit in single TS packet and PAT is in ↵Petri Hintukainen
the middle of PMT packets. Parsing PAT resets PMT buffer. If PMT does not fit to single TS packet and PAT packet is scheduled in middle of PMT packets, PMT is never parsed and TS demuxer falls to PID auto detection mode. This moves PMT buffer reset to the case where PMT PID changes and all PIDs are reset. [As far as I can see, worst regression can be invalid PMT sections when stream changes, new PMT pid equals to old one and demuxer is not reset(?), but this should be OK as PMT checksums are always checked.]
2009-11-28Honour max. number of SPU tracksPetri Hintukainen
2009-11-19Increase max number of audio and SPU tracksPetri Hintukainen
2009-11-19Demux VC-1 video (stream type 0xea)Petri Hintukainen
2009-11-08Fix playback of HTTP URLs with escaped characters (terminate the string).Julian Scheel
2009-11-17VC1 support fixesPetri Hintukainen
There are two tricks to make VC1 decoding work: 1) VC1 sequence and entry point headers must be present in context->extradata. 2) video width and height must be known when opening decoder. Some container formats store required extra data, but mpeg-ts does not. 1) is fixed by scanning the stream for headers and discarding all data until proper headers are found. 2) is fixed by re-opening decoder with width and height information from first open.
2009-11-03Fixed buffer overflow. Removed scratch buffer from demux_mpeg_block_s.Petri Hintukainen
2009-11-04Merge.Darren Salt
2009-11-03Fixed timing of subtitles.Petri Hintukainen
Splitted decode_presentation_segment() - Store presentation segments in decoder instance data. - Try to update overlays after every decoded object.
2009-11-03show_overlays() → update_overlays()Petri Hintukainen
2009-11-03Fixed memory leaks (RLE data)Petri Hintukainen
2009-11-03Do not update overlay if all elements are unchangedPetri Hintukainen
2009-11-03Copy palette only if all objects have been found; ERROR→TRACE in ↵Petri Hintukainen
show_overlay().
2009-11-03Moved struct declarations & list handling to beginning of the file. Cosmetics.Petri Hintukainen
2009-10-21Fixed a bug which prevented "dvb://" working with the default configuration.Darren Salt
2009-10-15Make the XML lexer and parser re-entrantMatt Kraai
2009-10-15Quick hack to prevent segfaulting at end-of-stream when this->context == NULL.Darren Salt
2009-10-13profiler: use uint64_t & replace arrays with a structCarlo Bramini
MSVC complained about a memset to a const object and all "long long" variables that are GNU only. I fixed it by grouping the fields into a structure and now even GCC is more happy.
2009-10-13#include guards and __attribute__ fixupsCarlo Bramini
2009-08-31Connect up the BluRay subtitles decoder.Darren Salt
--HG-- rename : src/libspudvb/Makefile.am => src/libspuhdmv/Makefile.am
2009-08-31BluRay subtitles decoder pluginPetri Hintukainen
2009-08-31Fixed selecting HDMV SPU trackPetri Hintukainen
2009-08-31Demux HDMV/BluRay bitmap subtitlesPetri Hintukainen
2009-08-31added spu_type parameter to demux_send_special_spu_buf()Petri Hintukainen
2009-08-31Fixed audio. HDMV uses PES stream 0xfd instead of 0xbd.Petri Hintukainen
2009-08-31Support for BluRay/HDMV 192-byte TS packetsPetri Hintukainen
2009-08-31PKT_SIZE --> this->pkt_size (in selected places)Petri Hintukainen
2009-08-31Cosmetics. Splitted detect_ts() from open_plugin().Petri Hintukainen
2009-08-31Add BluRay subtitle type.Darren Salt
2009-10-10Extended Matroska demuxerNicos Gollan
This adds the following functionality: * Read segment title and uses that for display in a UI There is an issue when the file does not specify a segment title. It will then fall back to a generic "(No title)", since I could not find a way to retrieve the file name the player shows. * More implementation files Added: - demux_matroska.h - demux_matroska_chapters.h This breaks the OO-ish C visibility a bit, since there need to be public (i.e. non-static) interfaces between the units. * Chapter Handling I did a rough initial implementation of Matroska's "editions" system. The demuxer will parse all editions from the header, and for each edition the top level of chapters. This is not quite the full spec as Matroska intends, but it should work fine as long as there is only a single edition and all editions/chapters only reference only one (the first and only) segment in the stream, and are supposed to apply to all tracks therein. When the stream has chapters, the demuxer will now handle skip events from the player to jump between chapters.
2009-10-10Don't use deprecated JACK APIMatěj Laitl
xine-lib jack audio output plugin still uses deprecated jack_client_new() function. This function has been superseded by jack_client_open(). New API has an advantage that jackd is allowed to alter name of the client in case of ambiguity.
2009-10-10Fix parsing of ID3 tag content lengths.Darren Salt
2009-10-10MOD reported zero-length workaround (avoids divide-by-0).Darren Salt
2009-09-28Incorrect int-to-float conversion in the JACK output pluginRemco Bloemen
Using bitmeter, I found that xine's jack output suffers from the problem mentioned at the bottom of bitmeter's home page. "Although JACK itself works entirely with IEEE floating point values the conversion to and from analog audio uses integers, as do popular audio storage technologies like DAT and Red Book CDs. For correct operation JACK software which uses such integers should use the same conversion ratios as JACK itself. e.g. 16-bit samples should be divided by exactly 32768. A common mistake is to choose the value 32767 instead. You can't hear this, or see it with ordinary meters, but the bitmeter shows a clear signature for audio processed in this way. The 8th bit of the mantissa (counting the rightmost as the 0th) is orange, indicating that an unusually high percentage of samples have this bit set." (from http://users.ecs.soton.ac.uk/njl98r/code/audio/bitmeter/ via Google cache)
2009-09-28RTSP debug build fixNicos Gollan
2009-08-26Garbled sound with multichannel audio (using sndio)Brad Smith
At the moment playing multichannel audio via the sndio backend results in garbled sound. This disables the multichannel audio support until I have more time to look into a better and more appropriate fix.