summaryrefslogtreecommitdiff
path: root/src/demuxers
AgeCommit message (Collapse)Author
2011-10-18demux_ts: eliminated unneeded variablePetri Hintukainen
2011-10-18demux_ts.c: Use input->seek_time() when available.Petri Hintukainen
2011-10-18demux_ts.c: fixed seeking to time offsetPetri Hintukainen
2011-10-18Fixed incorrect aliasingPetri Hintukainen
2011-10-17Fixed warningsPetri Hintukainen
2011-10-17Fixed input time calculationPetri Hintukainen
(was lost when splitting patch)
2011-10-17demux_ts: added rate estimationTorsten Jager
2011-10-17Added E-AC-3 to demux_mpeg_pesJose Alberto Reguero
2011-08-02demux_ts: Added defines for PMT stream info descriptorsPetri Hintukainen
2011-10-16Added internal event XINE_EVENT_END_OF_CLIPPetri Hintukainen
This event is used by BluRay input plugin to flush demux_ts caches at end of clip.
2011-10-13demux_ts: Fixed frame normpos. Cache current PES packet position in input ↵Torsten Jager
stream.
2011-10-13mkv fix: null dereferences, skipping of unknown elementsLorenzo Desole
2011-10-06demux_ts: detect transport stream changes from PATPetri Hintukainen
* * * Make sure initial PAT is parsed even if it's crc is 0
2011-10-06demux_ts: Do not parse PAT unless it was changed (CRC)Petri Hintukainen
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-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-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-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-13VP8 supportTorsten Jager
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-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.