summaryrefslogtreecommitdiff
path: root/src/demuxers/demux_ts.c
AgeCommit message (Collapse)Author
2010-06-14Merge from 1.1.Darren Salt
--HG-- rename : include/xine.h.in => include/xine.h rename : po/libxine1.pot => po/libxine2.pot
2010-04-08Merge from 1.1.Darren Salt
--HG-- rename : include/xine.h.in => include/xine.h rename : src/xine-engine/video_out.h => include/xine/video_out.h
2010-04-07Add video/mp2t (and the corresponding video/mp2p).Darren Salt
2010-04-09Minor indentation cleanup.Darren Salt
2010-04-09Add eac3 support to demux_tsJose Alberto Reguero
2010-01-21Revert a038e9625e79 (breaks A/V sync).Darren Salt
2010-01-20demux_ts: pass each pts just once to buf (and to decoder)Reinhard Nißl
The content of large PES packets must be split into several input buffers. The current code attaches the PTS of the PES packet to all input buffers. A decoder must attach PTS to the image for example which starts next in the data. If the same PTS appears on several input buffers, a decoder might buffer the PTS and attach it to the next image for which the broadcaster didn't supply a PTS. Finally xine's metronom gets confused about those incorrect PTS and tries to correct that issue which usually makes things even more worse. By passing on PTS just once to the decoder it is less likely that the decoder behaves incorrect. I must admit that this is the second approach to fix this issue. The first approach slipped through into a totally different changeset and instead of passing the PTS just on the first buf, it passed it on the last buf of a PES packet which was totally wrong. This incorrect approach has been reverted recently.
2010-01-12Demux BluRay DTS (stream 0x82)Petri Hintukainen
2010-01-12Do not reset decoder flags from parse_pes_header() when setting ↵Petri Hintukainen
BUF_FLAG_FRAME_END. Fixes BluRay PCM audio when PES payload size is less than 2048 bytes.
2010-01-06Ignore unsupported BluRay SPU streams (interactive (0x91) and text (0x92))Petri Hintukainen
2010-01-06Demux BluRay PCM audioPetri Hintukainen
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
2010-01-26Merge from 1.1.Darren Salt
2010-01-21Merge from 1.1.Darren Salt
2010-01-12Merge from 1.1.Darren Salt
2010-01-12fix a/v syncJulian Scheel
send the pts to the decoders, even if the pes packet is just a continuation packet
2010-01-06Merge from 1.1.Darren Salt
--HG-- rename : src/libxineadec/xine_lpcm_decoder.c => src/audio_dec/xine_lpcm_decoder.c
2009-11-30Trim trailing space & reduce space+tab.Darren Salt
2009-11-30Merge from 1.1.Darren Salt
2009-11-29Merge from 1.1.Darren Salt
2009-10-10Merge from 1.1, with adaptations and renaming (as needed).Darren Salt
Note that the Matroska and Bluray changes have only been compile-tested. --HG-- rename : src/xine-engine/buffer.h => include/xine/buffer.h rename : src/libspuhdmv/xine_hdmv_decoder.c => src/spu_dec/spuhdmv_decoder.c
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-01-05Merge security fixes from 1.1.Darren Salt
--HG-- rename : src/demuxers/demux_nsf.c => src/combined/nsf_demuxer.c rename : src/demuxers/demux_ogg.c => src/combined/xine_ogg_demuxer.c rename : src/libsputext/demux_sputext.c => src/spu_dec/sputext_demuxer.c
2009-01-05Merge security fixes.Darren Salt
2008-12-31handle read errors when forwarding in multiple demuxersMatthias Hopf
Add checks for negative return values in aac,ac3,dts,mpc, nsf,ogg,shn,slave,ts,tta,vox demuxers. Some input plugins (e.g. file) return negative error codes from read, this should be treated as no (more) data available. This is particularly the negative size is then assigned to buf->size, potentially causing overflows elsewhere. The patch also removes the duplication of the (previously) == 0 handler in demux_ac3.
2008-12-26demux_ts: PAT/PMT CRCs calculated by av_crc() need to be converted to ↵Reinhard Nißl
network byte order to match packet CRC
2008-12-15Merge from 1.1; update PO files; make buildable.Diego E. 'Flameeyes' Pettenò
--HG-- rename : include/xine.h.in => include/xine.h rename : src/xine-utils/attributes.h => include/xine/attributes.h rename : src/xine-engine/buffer.h => include/xine/buffer.h rename : m4/_xine.m4 => m4/types.m4 rename : po/libxine1.pot => po/libxine2.pot rename : src/libfaad/xine_faad_decoder.c => src/audio_dec/xine_faad_decoder.c rename : src/libspucc/cc_decoder.h => src/spu_dec/cc_decoder.h rename : src/libspucmml/xine_cmml_decoder.c => src/spu_dec/cmml_decoder.c rename : src/libspudec/xine_spu_decoder.c => src/spu_dec/spu_decoder.c rename : src/libspudvb/xine_spudvb_decoder.c => src/spu_dec/spudvb_decoder.c rename : src/libspucc/xine_cc_decoder.c => src/spu_dec/xine_cc_decoder.c rename : src/libmpeg2/mpeg2.h => src/video_dec/libmpeg2/mpeg2.h
2008-11-07Fix resuming video after corrupted pes.Christophe Thommeret
Without this patch, the video freezes. Available corrupted sample: http://hftom.free.fr/video_samples/corrupted_video.m2t --HG-- extra : transplant_source : %86g%9A%B1%AF%12L%7E%3EN%8C%0FT%D2%D8%3B%7Dv%F0%14
2008-06-25Merge from 1.1.Darren Salt
--HG-- rename : po/libxine1.pot => po/libxine2.pot
2008-06-25Merge, and add a changelog entry.Darren Salt
2008-06-25Add comments about (audio track)->type containing the stream no.Darren Salt
2008-06-25Backed out changeset f2086511a349; m->type isn't necessarily 0.Darren Salt
2008-06-23Allow for <libavutil/base64.h> etc.Darren Salt
Fixes build failures with some ffmpeg dev packages, e.g. from debian-multimedia.
2008-06-20Merge the avutil branch; port the "raw" video output plugin.Darren Salt
--HG-- rename : src/combined/ffmpeg/ff_dvaudio_decoder.c => src/audio_dec/ff_dvaudio_decoder.c rename : src/combined/ffmpeg/ffmpeg_encoder.c => src/dxr3/ffmpeg_encoder.c
2008-06-19Merge from 1.1, dropping the channels.conf patch for XDG-related reasons.Darren Salt
--HG-- rename : m4/_xine.m4 => m4/types.m4 rename : po/libxine1.pot => po/libxine2.pot
2008-06-18Separate PES stream IDs from TS descriptor tags.Darren Salt
2008-06-16demux_ts: Always replace PIDs when we parse a PMTSimon Farnsworth
demux_ts currently assumes that PIDs for a service never change - BBC THREE (amongst others) breaks this assumption. A PMT shouldn't change unless PIDs change, so always reacquire PIDs whenever we parse a PMT; this should work fine in the case when the PIDs do not change, and pick up the new PIDs whenever a change happens --HG-- extra : transplant_source : e%AB%EB%E1%CF%D8%1C%15%5E%DE%09%E4%3Dd%AB%E3f%FD%E5%9E
2008-06-11Merge from 1.1.Darren Salt
--HG-- rename : src/xine-engine/xine_internal.h => include/xine/xine_internal.h
2008-06-05demux_ts: don't OR in buffer types.Darren Salt