summaryrefslogtreecommitdiff
path: root/libavformat
Commit message (Collapse)AuthorAge
...
* jvdec: don't use deprecated url_feof()Anton Khirnov2011-03-16
|
* id3v2: merge TYER/TDAT/TIME to date tagAnton Khirnov2011-03-15
|
* Use AVERROR_EXIT with url_interrupt_cb.Nicolas George2011-03-15
| | | | | | | | | | | | | Functions interrupted by url_interrupt_cb should not be restarted. Therefore using AVERROR(EINTR) was wrong, as it did not allow to distinguish when the underlying system call was interrupted and actually needed to be restarted. This fixes roundup issues 2657 and 2659 (ffplay not exiting for streamed content). Signed-off-by: Nicolas George <nicolas.george@normalesup.org> Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* avio: deprecate url_ferrorAnton Khirnov2011-03-15
| | | | | | AVIOContext.error should be used directly instead. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* lavf/utils: dont't explicitly check AVIOContext.errorAnton Khirnov2011-03-15
| | | | | | The error should be caught in write_packet()/write_trailer() Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* jv demuxer: prevent video packet size overflowPeter Ross2011-03-14
| | | | | | | In the event of overflow, the JV_PADDING state will avio_skip over any overflow bytes (using JVFrame.total_size). Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* jv demuxer: define JV_PREAMBLE_SIZE instead of hard coding the numberPeter Ross2011-03-14
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* jv demuxer: calculate palette_size for each frame in read_headerPeter Ross2011-03-14
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* Bitmap Brothers JV demuxerPeter Ross2011-03-14
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* Add one more avc intra fourcc and extend the descriptionBenjamin Larsson2011-03-10
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* id3v2: fix typo in error messageAnton Khirnov2011-03-09
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* avio: deprecate url_feofAnton Khirnov2011-03-07
| | | | | | AVIOContext.eof_reached should be used directly instead. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* 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>