summaryrefslogtreecommitdiff
path: root/libavformat
Commit message (Collapse)AuthorAge
* mpegts: add all stream languages into metadataAnssi Hannula2011-03-07
| | | | | | | This is used at least on some older DVB broadcasts for dual-mono audio tracks. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* In retry_transfer_wrapper, do not check url_interrupt_cb, causes problemsBaptiste Coudurier2011-03-07
| | | | | | | | | | | | when writing and pressing q during encoding. Instead, check url_interrupt_cb at the end. Note that when a protocol is interrupted by url_interrupt_cb, some data may be silently discarded: the protocol context is not suitable for anything anymore. Signed-off-by: Nicolas George <nicolas.george@normalesup.org> Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* Flag DVB subtitles for the hard hearing appropriately using their ↵Hendrik Leppkes2011-03-07
| | | | | | | | | | component_type id. This is based on the component_type definition in the DVB SI spec [1]. [1]: http://www.dvb.org/technology/standards/a038_DVB-SI_dEN300468v1.12.1.pdf Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* mpegtsenc: handle multiple language tags per streamAnssi Hannula2011-03-07
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* lavf: update documentation of AVOutputFormat.flagsAnssi Hannula2011-03-07
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* avio: move ff_rewind_with_probe_data from avio.h to avio_internal.hAnton Khirnov2011-03-07
| | | | | | also change its prefix to ffio Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* avio: deprecate url_fget_max_packet_sizeAnton Khirnov2011-03-07
| | | | | | AVIOContext.max_packet_size should be used directly instead. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* lavf: document the use of multiple entries in language metadata tagAnssi Hannula2011-03-07
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* Add audio codec 0x1600 (ADTS AAC)Peter Ross2011-03-07
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* avio: avio_ prefix for url_fsizeAnton Khirnov2011-03-07
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* avio: deprecate url_fgetc and remove all it usesAnton Khirnov2011-03-07
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* avio: deprecate url_fgetsAnton Khirnov2011-03-07
| | | | | | It's not used anywhere and doesn't look ver useful to be public. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* avio: add avio_skip macroPeter Ross2011-03-07
| | | | | | | | | This is a substitute for the url_fskip function that was deprecated by commit 0300db8ad778a194b4a8ec98f6da3de5b41c46ee. avio_fskip is provided to improve demuxer code readability. It distinguishes the act of skipping over unknown or irrelevant bytes from the standard avio_seek operation. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* Add Apple HTTP Live Streaming protocol handlerMartin Storsjö2011-03-06
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* URLProtocol: Add URL_PROTOCOL_FLAG_NESTED_SCHEMEMartin Storsjö2011-03-06
| | | | | | | | | If this flag is set, the protocol can handle URLs where the scheme is a nested scheme such as applehttp+file: - the protocol can handle any URL where the first segment of the nested scheme belongs to this protocol. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* URLProtocol: Add a flags fieldMartin Storsjö2011-03-06
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* avio: add avio_tell macro as a replacement for url_ftellAnton Khirnov2011-03-04
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* lavf: deprecate get_strz() in favor of avio_get_strAnton Khirnov2011-03-04
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* avio: add avio_get_str()Reimar Döffinger2011-03-04
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* avio: fix fourcc if any character is >=0x80.Ronald S. Bultje2011-03-04
| | | | Fixes issue 2638.
* libavformat: Add av_pkt_dump{, _log}2, taking an AVStream parameterMartin Storsjö2011-03-02
| | | | | | | This removes a fixme issue, by allowing the av_pkt_dump functions to use the correct time base. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* aviobuf: Write new data at s->buf_end in fill_bufferMartin Storsjö2011-03-02
| | | | | | | | | | | | | | | In most cases, s->buf_ptr will be equal to s->buf_end when fill_buffer is called, but this may not always be the case, if we're seeking forward by reading (permitted by the short seek threshold). If fill_buffer is writing to s->buf_ptr instead of s->buf_end (when they aren't equal and s->buf_ptr is ahead of s->buffer), the data between s->buf_ptr and s->buf_end is overwritten, leading to inconsistent buffer content. This could return incorrect data if later seeking back into the area before the current s->buf_ptr. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* movenc: use correct tag for dvcpro hdBaptiste Coudurier2011-03-02
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* movenc: fix tkhd height for imxBaptiste Coudurier2011-03-01
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* avio: deprecate url_fskipAnton Khirnov2011-03-01
| | | | | | avio_seek should be used instead Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* lavf: replace all uses of url_fskip with avio_seekAnton Khirnov2011-03-01
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* avio: avio_ prefix for url_fseekAnton Khirnov2011-03-01
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* movenc: remove uses of deprecated API.Ronald S. Bultje2011-02-25
| | | | Replace put_tag() with ffio_wfourcc() and ByteIOContext with AVIOContext.
* store pasp atom for all types of quicktime movieMaksym Veremeyenko2011-02-25
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* reindent after tapt patchMaksym Veremeyenko2011-02-25
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* use tapt atom for sample aspect ratioMaksym Veremeyenko2011-02-25
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* bink: decode audio track identifiers into AVStream.idPeter Ross2011-02-25
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* bink: set audio stream codec_tag such that binkaudio decoder can identify ↵Peter Ross2011-02-25
| | | | | | bitstream version Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* avio: deprecate put_tagAnton Khirnov2011-02-25
| | | | | | it's not used internally anymore and shouldn't be public. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* lavf: replace remaining uses of put_tag with avio_writeAnton Khirnov2011-02-25
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* avienc: replace &tag[0] with tag.Anton Khirnov2011-02-25
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* lavf: use a new ffio_wfourcc macro instead of put_tag() where possibleAnton Khirnov2011-02-25
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* avienc: fix AVI stream index for files with >10 streamslongstone2011-02-23
| | | | | | Fixes issue 2563. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* avio: rename url_fopen/fclose -> avio_open/close.Anton Khirnov2011-02-23
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* libavformat: Remove FF_NETERRNO()Martin Storsjö2011-02-23
| | | | | | | | | | | | | | Map EAGAIN and EINTR from ff_neterrno to the normal AVERROR() error codes. Provide fallback definitions of other errno.h network errors, mapping them to the corresponding winsock errors. This eases catching these error codes in common code, without having to distinguish between FF_NETERRNO(EAGAIN) and AVERROR(EAGAIN). This fixes roundup issue 2614, unbreaking blocking network IO on windows. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* Add more AVC Intra FOURCCsBenjamin Larsson2011-02-22
| | | | | | | Also change the comments a bit since the FOURCCs aren't specific to Flip4Mac and different ones are used for 720 versus 1080 lines. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* mpegtsenc: use correct PES stream_id for AACTony Strauss2011-02-21
| | | | | | | This adds the AAC codec to the list of audio codecs that results in a PES stream_id of 0xc0 (audio stream). Signed-off-by: Mans Rullgard <mans@mansr.com>
* spdifenc.c: fix compile because of missing include avio_internal.h.Ronald S. Bultje2011-02-21
|
* avio: make put_nbyte internal.Anton Khirnov2011-02-21
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* avio: avio: avio_ prefixes for put_* functionsAnton Khirnov2011-02-21
| | | | | | | | | | | | In the name of consistency: put_byte -> avio_w8 put_<type> -> avio_w<type> put_buffer -> avio_write put_nbyte will be made private put_tag will be merged with avio_put_str Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* avio: make get_partial_buffer internal.Anton Khirnov2011-02-21
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* avio: avio_ prefixes for get_* functionsAnton Khirnov2011-02-21
| | | | | | | | | | | | | | 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>
* avio: rename av_alloc_put_byte -> avio_alloc_context for consistencyAnton Khirnov2011-02-21
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* Update version and APIchanges.Ronald S. Bultje2011-02-20
| | | | | | Update libavformat/version.h and doc/APIChanges after renaming init_put_byte() and ByteIOContext to ffio_init_context() (private) and AVIOContext, (public), and deprecating the originals.
* avio: move init_put_byte() to a new private header and rename itAnton Khirnov2011-02-20
| | | | | | | 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>