summaryrefslogtreecommitdiff
path: root/src/demuxers
AgeCommit message (Collapse)Author
2011-10-06Cosmetics (fixed indent)Petri Hintukainen
2011-10-06demux_ts: always check if pid is PMT PIDPetri Hintukainen
2011-10-06demux_ts.c: always parse PATPetri Hintukainen
2011-10-05Merge from 1.1.Darren Salt
--HG-- rename : src/xine-engine/xine_internal.h => include/xine/xine_internal.h rename : src/demuxers/demux_ogg.c => src/combined/xine_ogg_demuxer.c
2011-10-01Merge from 1.1.Darren Salt
--HG-- rename : src/libdts/xine_dts_decoder.c => src/audio_dec/xine_dts_decoder.c rename : src/libmusepack/xine_musepack_decoder.c => src/audio_dec/xine_musepack_decoder.c
2011-09-26Merge from 1.1. (Needs some testing.)Darren Salt
--HG-- rename : src/xine-engine/buffer.h => include/xine/buffer.h
2011-09-26demux_ts_adaptation_field_parse(): compile code used for conditional logging ↵Petri Hintukainen
(TS_LOG) only when condition is defined
2011-09-26demux_ts_adaptation_field_parse(): return -1 when there is no PCR (0 is ↵Petri Hintukainen
valid value for PCR)
2011-09-13Merge.Darren Salt
2011-09-11Update parsing of program numbers from PATs.Chris Rankin
The order of programs is assumed not to change among otherwise identical PATs. (Not an unreasonable assumption).
2011-09-11demux_ts_buffer_pes() is called for video, audio and DVBSUB packets only.Chris Rankin
So why does it try to handle SPU_DVD packets? DVB subtitles don't seem to work yet anyway.
2011-09-12Count preview frames separately for all audio and video streams.Chris Rankin
Otherwise we risk not marking the first audio frame in each stream with BUF_FLAG_HEADER. This is the final fix for https://bugs.xine-project.org/show_bug.cgi?id=403
2011-09-10Remove the attempt to auto-detect audio/video streams from the MPEG-TS.Chris Rankin
The only way to identify which codec a stream is using is to wait for a PMT, at which time we know all the PIDs anyway. The codec ID is in no way related to (0x100 + stream ID), which is what this code was trying to do. Such a codec ID just hits the default path of "Unknown, using MPEG instead".
2011-08-29Add AAC LATM support from FFmpeg 0.7+Chris Rankin
I've now tested this patch on Fedora 15 (FFmpeg 0.7) and Fedora 14 (FFmpeg 0.6), and am happy to report that it works fine on F15 and doesn't break xine-lib on F14. On F14, it also has the happy side effect of no longer trying to decode an LATM AAC stream with the xineplug_decode_faad.so plugin. (Which was something which never ended well anyway.)
2011-08-23Merge from 1.1.Darren Salt
--HG-- rename : src/xine-engine/buffer.h => include/xine/buffer.h rename : src/libxineadec/xine_lpcm_decoder.c => src/audio_dec/xine_lpcm_decoder.c rename : src/libspuhdmv/xine_hdmv_decoder.c => src/spu_dec/spuhdmv_decoder.c
2011-08-13VP8 supportTorsten Jager
2011-08-23Logic error with AC3 demuxerChris Rankin
This is a small mistake, but I'm fairly sure the index should be "j" and not "i".
2011-08-02demux_ts: Added defines for PMT stream info descriptorsPetri Hintukainen
2011-07-18demux_ts: commented out PCM inside PS1Petri Hintukainen
Demuxer does not send PCM header. Decoder can't handle raw PCM stream without configuration.
2011-07-22demux_ts: packet content should be checked for AC3 syncword after checking ↵Petri Hintukainen
all descriptors
2011-10-04fixed remaining compiler warnings from demuxersPetri Hintukainen
2011-10-04demux_qt: check asprintf() return valuePetri Hintukainen
2011-10-04demux_ogg: check asprintf return valuePetri Hintukainen
2011-10-04demux_qt: fixed using uninitialized dataPetri Hintukainen
2011-10-04demux_real: fixed buffer size checkPetri Hintukainen
Check used (NULL) target pointer instead of length and would be always false
2011-10-04demux_ts: save pcr pid from pmtPetri Hintukainen
2011-09-27demux_ts: removed sending of preview/header buffers.Petri Hintukainen
Now all used decoders work without header/preview buffers.
2011-07-18demux_ts: added m2ts and mts file extensionsPetri Hintukainen
2011-08-02demux_ts: added buffer size checks to adaptation field parsingPetri Hintukainen
2011-07-18Fixed writing outside of buffer when there are more than MAX_PIDS scrambled ↵Petri Hintukainen
pids.
2011-07-22demux_ts: Added buffer size checks. Make sure buffer size is not set to ↵Petri Hintukainen
negative value (that results writing out of buffer when buffering payload). Check buffer size before checking substream header bytes.
2011-07-16parse_pes_header(): eliminated local variable by simplifying the code that ↵Petri Hintukainen
skips pes header
2011-07-16demux_ts: Fixed reading outside of buffer: check header length before ↵Petri Hintukainen
parsing pts.
2011-07-16demux_ts: Fixed reading outside of buffer. Checking if pes header length == ↵Petri Hintukainen
6 is not enough ; anything less than 9 is invalid (header length byte at [8] can't be used if it is outside of buffer). Moved check to beginning of parse_pes_header() to avoid reading outside of buffer.
2011-08-01demux_ts: removed unneeded check ((stream_id & 0xf0) == 0xe0 implies ↵Petri Hintukainen
stream_id >= 0xbc)
2011-07-18Removed unneeded checkPetri Hintukainen
2011-07-15Factorized known audio pid search codePetri Hintukainen
2011-07-15Removed unused parameterPetri Hintukainen
2011-07-22demux_ts: Removed unused and write-only variablesPetri Hintukainen
2011-05-17Merge from 1.1.Darren Salt
--HG-- rename : src/libxineadec/xine_lpcm_decoder.c => src/audio_dec/xine_lpcm_decoder.c
2011-05-17Use "quietened" build if automake 1.11 was used.Darren Salt
2011-05-15Better support for 24-bit lpcmChristopher Martin
First of all, it improves the qt demuxer, ensuring that 24-bit audio is marked appropriately, and detecting little vs. big endian audio. It also adjusts the buffer size when audio is 24-bit, ensuring that samples aren't chopped in half (8192 does not divide evenly into 3 byte samples). Secondly, in the lpcm decoder, the patch distinguishes between standard 24-bit lpcm (big and little endian) and special DVD-format 24-bit lpcm (see http://wiki.multimedia.cx/index.php?title=PCM) and now handles both, instead of only handling the DVD format. The result is that xine now correctly plays all the 24-bit lpcm samples I throw at it, whereas before only a few worked.
2011-03-20Check that we've found both AAC signaturesLorenzo Desole
demux_aac.c looks for 2 signatures in the given stream to detect if it is an AAC stream, however only the absence of the second signature is used to rule out a positive match. This may lead to false positives.
2011-03-20Merge from 1.1.Darren Salt
--HG-- rename : src/libxineadec/gsm610/Makefile.am => contrib/gsm610/Makefile.am rename : src/libxineadec/nosefart/diff_to_nosefart_cvs.patch => contrib/nosefart/diff_to_nosefart_cvs.patch rename : src/libxineadec/nosefart/nes6502.c => contrib/nosefart/nes6502.c rename : src/libxineadec/nosefart/nes6502.h => contrib/nosefart/nes6502.h rename : src/libxineadec/nosefart/nes_apu.c => contrib/nosefart/nes_apu.c rename : src/libxineadec/nosefart/nes_apu.h => contrib/nosefart/nes_apu.h rename : src/libxineadec/nosefart/nsf.c => contrib/nosefart/nsf.c rename : src/libxineadec/nosefart/nsf.h => contrib/nosefart/nsf.h rename : src/libxineadec/nosefart/types.h => contrib/nosefart/types.h rename : src/libxineadec/nosefart/version.h => contrib/nosefart/version.h rename : doc/faq/faq.sgml => doc/faq/faq.docbook rename : src/libsputext/demux_sputext.c => src/spu_dec/sputext_demuxer.c rename : src/libxinevdec/image.c => src/video_dec/image.c
2010-11-30Check boundaries during MPEG TS stream detection.František Dvořák
2010-11-28Header stripping support in matroska demuxer.František Dvořák
Reserved space on the start of block_data for the headers during reading to avoid temporary memory buffers and memcpy()'s.
2010-10-30Using binary mode when writing raw data, in disabled debug code.František Dvořák
2010-10-23mingw32-w64 port: '-no-undefined' partFrantišek Dvořák
- use -no-undefined flag only for building shared libraries (libxine, plugins) - plugins LDFLAGS unification - move -no-undefined into LDFLAGS_NOUNDEFINED - attributes.m4 fix
2010-09-23Merge from 1.1.Darren Salt
2010-09-20Update Qt demuxer's extensions list.Darren Salt