log libmpdemux/demux_ts.c @ 31603:2b455d7357cc

age author description
Sat, 10 Jul 2010 16:43:00 +0000 reimar Check packet size before memmove to avoid crashes e.g. if we recognized the
Wed, 23 Jun 2010 16:44:21 +0000 reimar Replace ever-growing-to-uglyness IS_* macros to by functions
Mon, 21 Jun 2010 16:58:42 +0000 reimar Place AUDIO_AAC_LATM definition next to AUDIO_AAC.
Mon, 21 Jun 2010 16:41:30 +0000 reimar Make demux_ts detect LATM AAC as a separate type.
Sat, 05 Jun 2010 16:37:10 +0000 reimar Add partial support for dirac to TS demuxer.
Sun, 30 May 2010 22:14:13 +0000 diego Move TS_MAX_PROBE_SIZE #define to demux_ts.h instead of duplicating it.
Fri, 26 Feb 2010 15:01:37 +0000 diego Do not cast the results of malloc/calloc/realloc.
Wed, 17 Feb 2010 22:58:03 +0000 diego Add mp_getbits() to mpeg_hdr.h to avoid a forward declaration.
Wed, 17 Feb 2010 22:40:50 +0000 diego Add separate header for mp_a52_framesize(); avoids forward declarations.
Sun, 24 Jan 2010 20:54:17 +0000 reimar If audio was identified as DTS in the PMT do not override that with TrueHD
Wed, 13 Jan 2010 17:49:48 +0000 reimar Use double-precision constants instead of single precision that gets cast to double.
Tue, 12 Jan 2010 23:03:03 +0000 cehoyos Use double instead of float for pts.
Sun, 27 Dec 2009 15:28:01 +0000 reimar Add support for parsing audio streams (though should be easy to extend to video)
Wed, 23 Sep 2009 09:12:19 +0000 diego Add 0x85 ad ID for DTS audio.
Fri, 21 Aug 2009 16:54:57 +0000 reimar Add suport for detecting and demuxing DVB teletext streams (nothing beyond that though).
Thu, 30 Jul 2009 08:37:10 +0000 nicodvb handle TrueHD streams (they are carried in 0xFD PES streams in substream 0x72)
Tue, 23 Jun 2009 09:35:20 +0000 reimar Move printing of ID_AID_???_LANG to ts_add_stream instead of ts_detect_streams.
Tue, 23 Jun 2009 09:33:42 +0000 reimar Initialize es->lang to ensure a previous value does not get misattributed
Sun, 21 Jun 2009 10:55:41 +0000 reimar Remove duplicate printing of ID_AUDIO_ID/ID_VIDEO_ID, those are already
Sun, 21 Jun 2009 10:47:44 +0000 reimar TS demuxer: make the IDs used by DEMUXER_CTRL_SWITCH_* and DEMUXER_CTRL_IDENTIFY_PROGRAM
Wed, 13 May 2009 02:58:57 +0000 diego whitespace cosmetics: Remove all trailing whitespace.
Fri, 08 May 2009 21:47:50 +0000 diego Replace informal GPL license header by standard GPL header.
Wed, 04 Mar 2009 08:11:42 +0000 reimar Fix mp_msg call with too few arguments.
Mon, 16 Feb 2009 02:00:29 +0000 diego Replace double semicolon by single semicolon.
Thu, 22 Jan 2009 21:50:13 +0000 nicodvb in parse_pat() IDENTIFY program number and pmt_pid
Sun, 04 Jan 2009 13:12:51 +0000 nicodvb added support for manual audio substream selection out of 0xFD PES streams (Blueray, multistream in the same pid)
Wed, 03 Dec 2008 23:01:03 +0000 diego Get rid of pointless 'extern' keywords.
Sun, 08 Jun 2008 14:50:35 +0000 diego Remove unused variable, fixes the warning:
Mon, 02 Jun 2008 10:22:46 +0000 nicodvb call demux_flush() where appropriate
Fri, 11 Apr 2008 10:35:32 +0000 diego typo in filename
Fri, 11 Apr 2008 09:50:24 +0000 diego Update comment to account for renamed header file.
Sat, 05 Apr 2008 14:07:34 +0000 reimar Remove another useless cast
Mon, 17 Mar 2008 22:39:57 +0000 nicodvb another DCA audio identified (0x86) used in BD; patch by kirill belokurov gmail com
Sat, 23 Feb 2008 10:42:24 +0000 nicodvb reset_fifos() resets demuxer->reference_clock to MP_NOPTS_VALUE
Sat, 23 Feb 2008 10:38:24 +0000 nicodvb read the PCR of the currently playing program (if available) in demuxer->reference_clock
Sat, 16 Feb 2008 11:51:41 +0000 nicodvb when seeking in H264 an SPS *should* be a valid entry point; feel free to change it if it's wrong
Sat, 16 Feb 2008 11:02:04 +0000 nicodvb cosmetics
Sat, 16 Feb 2008 10:58:23 +0000 nicodvb in ts_detect_streams() try to identify the program found based on vpid and apid if the previous attempts failed for lack of infos
Fri, 08 Feb 2008 23:45:26 +0000 nicodvb in some still unknown system format 0x82 identifies AUDIO_DTS
Tue, 29 Jan 2008 15:11:38 +0000 reimar Use defines to give names to the different seek flags.
Sat, 26 Jan 2008 18:47:39 +0000 nicodvb in the PMT stream_type==0x11 indicates AAC in LATM streams, that now libfaad can decode; re-added
Sun, 13 Jan 2008 16:00:39 +0000 reimar Make all demuxer_desc_t const, thus moving them to .rodata
Sat, 05 Jan 2008 13:03:44 +0000 nicodvb in the PMT stream_type==0x11 identified AAC in LATM-over-LOAS syntax that isn't decodable yet, removed
Sun, 16 Dec 2007 23:57:34 +0000 diego Remove useless stray #include.
Wed, 03 Oct 2007 21:39:01 +0000 nicodvb support for DTS as specified in DVB (untested)
Sat, 22 Sep 2007 08:40:02 +0000 nicodvb removed unused function parameters
Sat, 22 Sep 2007 08:29:25 +0000 nicodvb in ts_detect_streams() moved the iteration condition inside the loop
Thu, 13 Sep 2007 13:16:30 +0000 diego warning fixes:
Sat, 25 Aug 2007 12:12:31 +0000 diego Remove redundant variable declarations.
Tue, 24 Jul 2007 21:04:08 +0000 rtogni Fix for bugzilla #835
Sat, 09 Jun 2007 18:20:21 +0000 nicodvb init ts_probe to 0 and probe up to TS_MAX_PROBE_SIZE if the parameter
Sat, 09 Jun 2007 11:57:22 +0000 nicodvb added support for DTS1 audio descriptor
Sat, 09 Jun 2007 11:56:10 +0000 nicodvb 1000000l, descriptor VC-1 identifies VIDEO_VC1, not AUDIO_DTS
Sat, 02 Jun 2007 10:26:37 +0000 nicodvb prog_id is an uint16_t; reported by Mario Rossi (mariofurire googlemail com)
Thu, 15 Mar 2007 18:36:36 +0000 diego Add explicit location for headers from the stream/ directory.
Tue, 27 Feb 2007 20:22:05 +0000 nicodvb removed duplicated code in demux_seek(); stream_seek() already aligns to STREAM_BUFFER_SIZE boundary
Sat, 17 Feb 2007 17:24:07 +0000 nicodvb cosmetics
Fri, 09 Feb 2007 19:47:20 +0000 nicodvb when seeking in h264 sync to idr frames
Fri, 09 Feb 2007 19:44:21 +0000 nicodvb when playing vc1 content sync to sequence or entry point header
Fri, 09 Feb 2007 19:39:31 +0000 nicodvb vc1 in mpegts
Mon, 29 Jan 2007 23:35:08 +0000 nicodvb reduced verbosity
Mon, 29 Jan 2007 23:10:01 +0000 nicodvb 5l, check that the codec type detected by ts_detect_streams() is actually audio before fixing it in the array
Mon, 29 Jan 2007 22:49:14 +0000 nicodvb fix audio type when ts_detect_streams detects that a private1 stream is actually ac3
Wed, 17 Jan 2007 00:12:35 +0000 nicodvb unified creation of sh_audio and sh_video is ts_add_stream; patch by elupus
Sat, 09 Dec 2006 12:24:11 +0000 reimar Get rid of min/max macros from aviheader.h, they do not belong here.
Sat, 02 Dec 2006 12:32:44 +0000 diego Remove superfluous bswap.h include.
Mon, 20 Nov 2006 21:03:46 +0000 nicodvb slight simplification in demux_control_ts: no need to check *arg with last_{aid,vid} (small bugfix, too)
Sun, 19 Nov 2006 23:36:14 +0000 nicodvb in demux_ts_control unified SWITCH_AUDIO and SWITCH_VIDEO (they were identical)
Sun, 19 Nov 2006 23:10:30 +0000 nicodvb during DEMUXER_CTRL_SWITCH_x *arg set to -2 identifies 'disable stream x'
Sat, 18 Nov 2006 14:32:14 +0000 nicodvb implemented DEMUXER_CTRL_IDENTIFY_PROGRAM
Thu, 16 Nov 2006 22:09:24 +0000 nicodvb COSMETICS: reformatted
Thu, 16 Nov 2006 22:08:14 +0000 nicodvb restored circular looping when changing audio and video stream (previously broken)
Thu, 16 Nov 2006 21:31:44 +0000 nicodvb reset demuxer's buffered demux_packet after DEMUXER_CTRL_SWITCH_AUDIO
Thu, 16 Nov 2006 21:30:35 +0000 nicodvb implemented DEMUXER_CTRL_SWITCH_VIDEO
Sun, 29 Oct 2006 22:02:10 +0000 nicodvb a previous commit introduced a bug that prevented tables
Sun, 29 Oct 2006 21:29:23 +0000 nicodvb simplified assignment of subtitles stream in ts_parse()
Sun, 29 Oct 2006 11:17:28 +0000 nicodvb handle broken ts packets before parsing the rest
Sun, 29 Oct 2006 11:00:36 +0000 nicodvb cosmetics: reformatted after previous commit
Sun, 29 Oct 2006 10:55:02 +0000 nicodvb 1000l: fixed broken handling of the adaption field - part 2
Sun, 29 Oct 2006 10:33:49 +0000 nicodvb fixed mishandling of stream_read() (it doesn't necessarily return -1 in case of error)
Sun, 29 Oct 2006 10:23:15 +0000 nicodvb ts_parse() move section handling after stream_read() rather than repeating it
Sat, 28 Oct 2006 17:51:32 +0000 nicodvb removed useless check: when is_start is set the size of the payload
Sat, 28 Oct 2006 17:42:25 +0000 nicodvb in ts_parse() centralized stream_read()+stream_skip(); smaller and cleaner
Sat, 28 Oct 2006 10:59:17 +0000 nicodvb readability cosmetics
Sat, 28 Oct 2006 10:52:12 +0000 nicodvb unconditionally assign the language code when available;
Sat, 28 Oct 2006 09:52:19 +0000 nicodvb reformatted ts_parse() after previous commit
Sat, 28 Oct 2006 09:44:18 +0000 nicodvb removed unreachable code (when len=pes_parse2() returns 0)
Sat, 28 Oct 2006 09:03:51 +0000 nicodvb 10l: fixed misplaced adaption field check
Sat, 28 Oct 2006 08:56:44 +0000 nicodvb removed commented crc32 code; I'll eventualy reuse the one in lavu
Sat, 28 Oct 2006 08:54:31 +0000 nicodvb slight simplifications
Tue, 17 Oct 2006 21:26:30 +0000 nicodvb fixed corner case previously mishandled: don't play an audio only stream when
Sun, 15 Oct 2006 09:29:02 +0000 nicodvb during stream detection always parse ts_probesize bytes (even with -nosound set),
Sat, 26 Aug 2006 19:17:04 +0000 reimar Get rid of demux_aid_vid_mismatch mess.
Sat, 26 Aug 2006 17:31:42 +0000 nicodvb don't try to autodetect aac in pes packets (the detection is prone to give wrong results); use the stream_type from the PMT instead
Wed, 14 Jun 2006 22:22:34 +0000 nicodvb reduced standard verbosity and changed output messages to more uniform descriptions
Mon, 12 Jun 2006 23:06:21 +0000 nicodvb support for audio stream switching
Sun, 04 Jun 2006 23:23:58 +0000 nicodvb support for dts (identified only by the PMT, not from the bitstream)
Sun, 04 Jun 2006 23:16:09 +0000 nicodvb fixed wrong assignment of stream type in generic PES_PRIVATE1 streams (didn't respect the type qualified in the PMT)
Sun, 04 Jun 2006 23:11:40 +0000 nicodvb one more a52 descriptor (dvb impl., untested)
Sun, 04 Jun 2006 22:41:27 +0000 rtogni Fix potential integer overflows in memory allocation.
Sat, 13 May 2006 10:49:46 +0000 nicodvb where necesary, replaced all realloc() with realloc_struct() to prevent int oveflows
Sat, 13 May 2006 10:09:33 +0000 nicodvb when searching ac3 in unqualified pes_private1 streams there's no need to scan > 64 KB of data: frames can't be so far apart
Fri, 12 May 2006 22:33:42 +0000 nicodvb allocate correct extradata size
Fri, 12 May 2006 22:21:29 +0000 nicodvb raised max extradata size and refuse to store more than the limit
Fri, 12 May 2006 21:34:06 +0000 nicodvb don't allocate (and demux_push() immediately) demux_packet()s > MAX_PACK_SIZE; releasing immediately audio packets (before the pes is complete) doesn't make any sense and deteriorates interleaving
Fri, 12 May 2006 20:26:05 +0000 nicodvb search ac3 in dvd substream only if pes_aligned flag is set in the pes headers, otherwise false positives are likely to occur
Mon, 24 Apr 2006 07:20:34 +0000 reynaldo Get ride of the several if(identify) messy lines and rearangment of some of the output, both patches by Kiriuja mplayer-patches AT en-directo_net, his changes are barely unrelated, nevertheless Im commiting them thogeter just for the sake of my mental healt, I had both patches already applied on my local three
Wed, 05 Apr 2006 18:50:24 +0000 nicodvb segfault fix: assign param->apid (that is the audio id found) when inexistent audio language is specified; patch by Erik Auerswald auerswal a unix-ag d uni-kl d de
Sat, 11 Mar 2006 23:26:02 +0000 nicodvb init variable in parse_mp4_object_descriptor before using it; fixes cid 237
Sat, 04 Mar 2006 11:00:20 +0000 nicodvb print ts_probe; 0x88 .. 0x8F in pes_private streams are not AC3 but DTS tracks (unsupported); save the size of the payload of the current PES packet in any case (used for ac3 detection)
Fri, 17 Feb 2006 01:57:41 +0000 corey Second-try commit of this patch.
Thu, 09 Feb 2006 19:39:51 +0000 corey Reverse commit of unfinished patch for passing audio_delay to the demuxers.
Tue, 07 Feb 2006 20:22:44 +0000 corey 1. Include audio_delay as an argument to demux_seek.
Fri, 27 Jan 2006 23:07:16 +0000 nicodvb export custom mp_a52_framesize(), needed to parse ac3 frames when liba52 is not present; will be moved in a more appropriate place sometimes in the future
Fri, 13 Jan 2006 00:23:32 +0000 diego Update licensing information: The FSF changed postal address.
Fri, 18 Nov 2005 14:39:25 +0000 diego Unify include path handling, -I.. is in CFLAGS.
Sun, 06 Nov 2005 16:17:17 +0000 nicodvb fixed possible uint8 overflow; assign progid to the newly created pmt
Mon, 31 Oct 2005 23:38:32 +0000 nicodvb more precise seeking based on calculated average video bitrate; works quite well in case of a TS with only 1 video stream
Sun, 30 Oct 2005 09:19:05 +0000 reimar move resync_audio_stream after seeking to demuxer.c
Thu, 13 Oct 2005 18:33:56 +0000 reimar Use PRI?64 defines as format strings for 64 bit variables.