aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/mpegts.c
Commit message (Collapse)AuthorAgeFilesLines
...
* | avio: deprecate url_fgetc and remove all it usesAnton Khirnov2011-03-081-2/+2
| | | | | | | | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> (cherry picked from commit e51975392d85e72801193123945a35fb5221248f)
* | avio: add avio_tell macro as a replacement for url_ftellAnton Khirnov2011-03-051-7/+7
| | | | | | | | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> (cherry picked from commit a2704c9712ad35cc22e7e0d8a79b581c07fa383b)
* | lavf: replace all uses of url_fskip with avio_seekAnton Khirnov2011-03-031-1/+1
| | | | | | | | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> (cherry picked from commit e356fc57a2e9887370caec58d8aafeafd1f336dc)
* | avio: avio_ prefix for url_fseekAnton Khirnov2011-03-031-10/+10
| | | | | | | | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> (cherry picked from commit 6b4aa5dac8f41aa452d0ce9a1bede9e59a303060)
* | In mpegts demuxer, do not output known sized packet if an unbounded packetBaptiste Coudurier2011-02-271-1/+1
| | | | | | | | is already queued. Fix issue #2624.
* | avio: avio_ prefixes for get_* functionsAnton Khirnov2011-02-221-15/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In the name of consistency: get_byte -> avio_r8 get_<type> -> avio_r<type> get_buffer -> avio_read get_partial_buffer will be made private later get_strz is left out becase I want to change it later to return something useful. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> (cherry picked from commit b7effd4e8338f6ed5bda630ad7ed0809bf458648)
* | avio: move init_put_byte() to a new private header and rename itAnton Khirnov2011-02-201-2/+3
| | | | | | | | | | | | | | | | init_put_byte should never be used outside of lavf, since sizeof(AVIOContext) isn't part of public ABI. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> (cherry picked from commit e731b8d8729e75bfb69f5540e6446d6118dac549)
* | avio: rename ByteIOContext to AVIOContext.Anton Khirnov2011-02-201-5/+5
| | | | | | | | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> (cherry picked from commit ae628ec1fd7f54c102bf9e667a3edd404b9b9128)
* | mpegts: set st->disposition according to ISO 639 language descriptorAnssi Hannula2011-02-151-0/+5
| | | | | | | | | | Signed-off-by: Mans Rullgard <mans@mansr.com> (cherry picked from commit 60e7306643054e93dfc1962f89b24554bb76e18a)
* | mpegts: remove unused macro MAX_SCAN_PACKETSVladimir Pantelic2011-02-111-3/+0
| | | | | | | | | | Signed-off-by: Mans Rullgard <mans@mansr.com> (cherry picked from commit f4c79d1e0b2e797012304db57903e4091b0c2d7c)
* | mpegts: remove get_pts duplicate of ff_parse_pes_pts.Vasyl' Vavrychuk2011-01-311-11/+4
| | | | | | | | | | | | Signed-off-by: Vasyl' Vavrychuk <vvavrychuk@gmail.com> Signed-off-by: Mans Rullgard <mans@mansr.com> (cherry picked from commit 665132e6204766b1d43ce413d6b1cc2a1d34ea29)
* | Replace dprintf with av_dlogLuca Barbato2011-01-301-15/+15
| | | | | | | | | | dprintf clashes with POSIX.1-2008 (cherry picked from commit dfd2a005eb29e4b9f2fdb97036eb7d5c38ae4bd4)
* | Prefix all _demuxer, _muxer, _protocol from libavformat and libavdevice.Diego Elio Pettenò2011-01-281-4/+4
| | | | | | | | | | | | This also lists the objects from those two libraries as internal (by adding the ff_ prefix) so that they can then be hidden via linker scripts. (cherry picked from commit c6610a216ed2948885772154a2eed696e0cb4aca)
* | Set service_provider and service_name in mpegts demuxerGeorgi Chorbadzhiyski2011-01-211-2/+2
|/ | | | | | | | | Set service_provider and service_name in mpegts demuxer, previously name and provider_name were set but since the muxer uses service_provider and service_name use them. Signed-off-by: Mans Rullgard <mans@mansr.com> (cherry picked from commit e8315e78814f92d6d031bd3a909d896351a416f8)
* add ff_parse_mpeg2_descriptor; make MPEG2 descriptor parsing routines ↵Peter Ross2010-12-291-77/+90
| | | | | | available to other modules. Originally committed as revision 26125 to svn://svn.ffmpeg.org/ffmpeg/trunk
* In ts demuxer, if pes packet size is < ts packet, honor pes packet and skip ↵Baptiste Coudurier2010-11-291-1/+5
| | | | | | | | padded data. Fixes issue #2392. Originally committed as revision 25841 to svn://svn.ffmpeg.org/ffmpeg/trunk
* In TS demuxer, create the AVStream during pmt parsing if the pes stream does notStephen D'Angelo2010-11-251-0/+2
| | | | | | | | yet have it, this can happen if the pes stream contain data but no pes header has been encoutered yet. Patch by Stephen D'Angelo, SDAngelo at evertz dot com. Originally committed as revision 25823 to svn://svn.ffmpeg.org/ffmpeg/trunk
* In TS demuxer, keep the pmt filter open to parse all pmt sections,Baptiste Coudurier2010-11-251-2/+2
| | | | | | based on patch by Stephen D'Angelo, SDAngelo at evertz dot com. Originally committed as revision 25822 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove some warningsBaptiste Coudurier2010-11-231-2/+2
| | | | Originally committed as revision 25808 to svn://svn.ffmpeg.org/ffmpeg/trunk
* 10l, fix memleak, forgot to free mp4_dec_config_descrBaptiste Coudurier2010-11-231-2/+5
| | | | Originally committed as revision 25807 to svn://svn.ffmpeg.org/ffmpeg/trunk
* In ts demuxer, support aac flexmux using extradata in iods, issue #2346Baptiste Coudurier2010-11-231-1/+63
| | | | Originally committed as revision 25806 to svn://svn.ffmpeg.org/ffmpeg/trunk
* mpegts: support LATM syntaxJanne Grunau2010-11-021-4/+1
| | | | Originally committed as revision 25643 to svn://svn.ffmpeg.org/ffmpeg/trunk
* rename LAVF_API_* defines to FF_API_* to clarify that it is not public APIAurelien Jacobs2010-08-181-1/+1
| | | | Originally committed as revision 24825 to svn://svn.ffmpeg.org/ffmpeg/trunk
* add LAVF_API_MAX_STREAMS define to disable the deprecated MAX_STREAMS APIAurelien Jacobs2010-08-171-1/+1
| | | | Originally committed as revision 24817 to svn://svn.ffmpeg.org/ffmpeg/trunk
* get rid of MAX_STREAMS limit in mpegtsAurelien Jacobs2010-08-091-2/+6
| | | | Originally committed as revision 24753 to svn://svn.ffmpeg.org/ffmpeg/trunk
* mpegts: Warn if unable to seek backMartin Storsjö2010-07-241-1/+2
| | | | Originally committed as revision 24477 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Pass the composition and ancillary ID for DVB subtitles via extradata insteadReimar Döffinger2010-07-141-4/+11
| | | | | | | | | | of sub_id, this allows detecting when that information is not available and just decode everything. In addition extradata is required for many codecs and thus in contrast to sub_id generally already passed on by any programs using libav*. Also ask for a sample if we encounter a stream with multiple/changing IDs. Originally committed as revision 24238 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix grammar errors in documentationMåns Rullgård2010-06-301-1/+1
| | | | Originally committed as revision 23904 to svn://svn.ffmpeg.org/ffmpeg/trunk
* In ts demuxer, output pes packet as soon as they are complete.Janne Grunau2010-05-181-0/+10
| | | | | | | This is needed for subtitles where packets are infrequent. Patch by Janne Grunau, janne-ffmpeg at jannau dot net. Originally committed as revision 23157 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Mark av_metadata_set() as deprecated, and use av_metadata_set2()Stefano Sabatini2010-04-251-5/+5
| | | | | | | | in its place. av_metadata_set() is going to be dropped at the next major bump. Originally committed as revision 22961 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Disable LATM AAC in mpegts, this is not supported and produce too manyBaptiste Coudurier2010-04-221-1/+4
| | | | | | bug reports. Also warn the user about it. Originally committed as revision 22947 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Define AVMediaType enum, and use it instead of enum CodecType, whichStefano Sabatini2010-03-301-29/+29
| | | | | | is deprecated and will be dropped at the next major bump. Originally committed as revision 22735 to svn://svn.ffmpeg.org/ffmpeg/trunk
* rename av_program_add_stream_index to ff_program_add_stream_indexAurelien Jacobs2010-03-151-2/+2
| | | | | | it is an internal function, not part of public API Originally committed as revision 22561 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Replace last occurrence of the deprecated match_ext() withStefano Sabatini2010-03-081-1/+1
| | | | | | av_match_ext(). Originally committed as revision 22351 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix buildMåns Rullgård2010-02-011-2/+2
| | | | Originally committed as revision 21602 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix warnings about implicit function declaration when compiling rtpdec.cAlexis Ballier2010-02-011-3/+3
| | | | | | Patch by Alexis Ballier, alexis D ballier A gmail Originally committed as revision 21601 to svn://svn.ffmpeg.org/ffmpeg/trunk
* remove useless type declarationsBaptiste Coudurier2010-01-131-6/+4
| | | | Originally committed as revision 21206 to svn://svn.ffmpeg.org/ffmpeg/trunk
* move code to avoid forward declarationBaptiste Coudurier2009-11-081-240/+238
| | | | Originally committed as revision 20475 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Let pmt override stream info when encoutered later in the ts file.Baptiste Coudurier2009-11-081-32/+23
| | | | | | | Do not set codec id based on pes start code, this is unreliable. Fix gazeta-20090408-1456-aa.ts Originally committed as revision 20474 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Support some LATM AAC streams (they can be decoded with MPlayer).Carl Eugen Hoyos2009-11-071-0/+1
| | | | Originally committed as revision 20472 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Support demuxing teletext in DVB streams.Francesco Lavra2009-10-291-0/+8
| | | | | | Original patch by Francesco Lavra, francescolavra interfree it Originally committed as revision 20414 to svn://svn.ffmpeg.org/ffmpeg/trunk
* handle_packets takes number of packets as arg, avoid reading too muchBaptiste Coudurier2009-10-181-1/+1
| | | | Originally committed as revision 20288 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Increase max resync size, fix demuxing of dvgrab-2009.03.28_19-07-22.m2tBaptiste Coudurier2009-10-181-9/+11
| | | | | | | Print error when max resync size is reached and return EAGAIN instead of INVALIDDATA, so user can retry if wanted. Originally committed as revision 20286 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Allow demuxing of E-AC3 (stream type 0x84) in MPEG-TS.Carl Eugen Hoyos2009-10-101-0/+1
| | | | Originally committed as revision 20200 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Allow the combined TrueHD/AC3 tracks on Blu-Ray discs to be demuxed as two ↵Ian Caulfield2009-10-051-3/+53
| | | | | | | | separate streams. Patch by Ian Caulfield, ian D caulfield A gmail Originally committed as revision 20168 to svn://svn.ffmpeg.org/ffmpeg/trunk
* ensure pes buffer is set to avoid segvBaptiste Coudurier2009-09-131-1/+1
| | | | Originally committed as revision 19836 to svn://svn.ffmpeg.org/ffmpeg/trunk
* reset pes state to skip after flushing, avoid segv with ↵Baptiste Coudurier2009-09-131-0/+1
| | | | | | dvgrab-2009.03.28_19-07-22.m2t Originally committed as revision 19835 to svn://svn.ffmpeg.org/ffmpeg/trunk
* disable new seeking code in mpeg-ts per #ifdef (use old read_seek by default)Ivan Schreter2009-09-061-0/+34
| | | | Originally committed as revision 19788 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Cosmetic changes in read_seek* routines.Ivan Schreter2009-08-261-19/+26
| | | | Originally committed as revision 19723 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Decoder for LPCM as used in Bluray discs.Christian Schmidt2009-08-261-0/+1
| | | | | | Patch by Christian Schmidt, schmidt digadd de Originally committed as revision 19722 to svn://svn.ffmpeg.org/ffmpeg/trunk