summaryrefslogtreecommitdiff
path: root/libavformat
Commit message (Collapse)AuthorAge
...
* avio: rename ByteIOContext to AVIOContext.Anton Khirnov2011-02-20
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* MMS: also discover streams in extended stream properties objectMarton Balint2011-02-19
| | | | | | | Allows playback of nonprimary audio streams in multiple bitrate sources, such as mmsh://wmscr1.dr.dk/e02ch03m Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* lavf, lavu: bump minor versions and add an APIChanges entry for av_ prefixesAnton Khirnov2011-02-17
| | | | Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
* Move find_info_tag to lavu and add av_ prefix to itAnton Khirnov2011-02-17
| | | | Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
* Replace remaining uses of parse_date with av_parse_time.Anton Khirnov2011-02-16
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Deprecate parse_date() in favor of av_parse_time().Stefano Sabatini2011-02-16
| | | | | | | | The new av_parse_time() is created in libavutil/parseutils.h, all the internal functions used by parse_date are moved to libavutil/parseutils.c and made static. Signed-off-by: Mans Rullgard <mans@mansr.com>
* lavf: add av_ prefix to dump_format()Anton Khirnov2011-02-16
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* rtsp: udp_read_packet returning 0 doesn't mean successMartin Storsjö2011-02-17
| | | | | | | | If udp_read_packet returns 0, rtsp_st isn't set and we shouldn't treat it as a successfully received packet (which is counted and possibly triggers a RTCP receiver report). This fixes issue 2612.
* spdifenc: set flag AVFMT_NOTIMESTAMPSAnssi Hannula2011-02-16
| | | | | | There are no timestamps in IEC 61937. Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
* fix nsvdec.c compilation if DEBUG macro definedMaksym Veremeyenko2011-02-16
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* Fix av_find_best_stream when using a programBalint Marton2011-02-16
| | | | | | | | The current implementation has a bug, it is returning the stream index in the found program, and not the stream index in the list of all streams. The attached patch fixes this issue. Signed-off-by: Mans Rullgard <mans@mansr.com>
* Document that av_write_header sets stream time_base to a value of it chosing.Reimar Döffinger2011-02-16
| | | | Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
* spdifenc: update 482d98f69b2eb7a7b0b5054101a43db384e9432b to the latest patchJanne Grunau2011-02-16
| | | | "spdifenc: IEC 61937 encapsulation of DTS-HD for HDMI"
* os_support: fix poll() implementationMax Shakhmetov2011-02-15
| | | | | | | Our poll implementation does not iterate over the pollfd array properly while setting the revents. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* Merge libavcore into libavutilReinhard Tartler2011-02-15
| | | | | | | | | | | | It is pretty hopeless that other considerable projects will adopt libavutil alone in other projects. Projects that need small footprint are better off with more specialized libraries such as gnulib or rather just copy the necessary parts that they need. With this in mind, nobody is helped by having libavutil and libavcore split. In order to ease maintenance inside and around FFmpeg and to reduce confusion where to put common code, avcore's functionality is merged (back) to avutil. Signed-off-by: Reinhard Tartler <siretart@tauware.de>
* fix nsvdec.c compilation if DEBUG definedMaksym Veremeyenko2011-02-15
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* mpegtsenc: whitespace cosmeticsMans Rullgard2011-02-14
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* mpegtsenc: set audio_type according to st->dispositionAnssi Hannula2011-02-14
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* mpegts: set st->disposition according to ISO 639 language descriptorAnssi Hannula2011-02-14
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* lavf: add AV_DISPOSITION_CLEAN_EFFECTS flagAnssi Hannula2011-02-14
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* mmst: fix reading uninitialized data for ping packets.Ronald S. Bultje2011-02-14
| | | | | Fixes errors after a few minutes (first ping) when playing back mmst://wm.bbc.co.uk/wms/bbc7coyopa/bbc7_-_friday_0430.wma
* asfdec: fix build for big endian targetsMans Rullgard2011-02-13
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* wtv: ignore empty data_guid chunksPeter Ross2011-02-13
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* asfdec: don't export empty metadataAnton Khirnov2011-02-13
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* asfdec: split reading stream properties out of asf_read_header()Anton Khirnov2011-02-13
| | | | | | This contains a rename from gsize->size Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* mmst: print packet type with error status code messageFrancesco Cosoleto2011-02-13
| | | | | Signed-off-by: Francesco Cosoleto <cosoleto@gmail.com> Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* lavf: print stream disposition in dump_stream_formatAnssi Hannula2011-02-13
| | | | Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
* spdifenc: fix byte order on big-endian systemsAnssi Hannula2011-02-13
| | | | | | | | | | | | | | | | | | | There is a check for HAVE_BIGENDIAN when outputting the IEC 61937 stream. On big-endian systems the payload data is not byteswapped, causing in effect the outputted payload data to be in a different byte order on big-endian than on little-endian systems. However, the IEC 61937 preamble (and the final odd byte if present) is always outputted in the same byte order. This means that on big-endian systems the headers have a different byte order than the payload, preventing useful use of the output. Fix that by outputting the data in a format suitable for sending to an audio device in S16LE format by default. Output as big-endian (S16BE) is added as an AVOption. This makes the muxer output the same on all archs by default. Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
* spdifenc: IEC 61937 encapsulation of DTS-HD for HDMIAnssi Hannula2011-02-13
| | | | Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
* movenc: Force first sample as SYNCTakashi Mochizuki2011-02-13
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* rtsp/rdt: Assign the RTSPStream index to AVStream->idMartin Storsjö2011-02-11
| | | | | | | | | | | | This is used for mapping AVStreams back to their corresponding RTSPStream. Since d9c0510, the RTSPStream pointer isn't stored in AVStream->priv_data any longer, breaking this mapping from AVStreams to RTSPStreams. Also, we don't need to clear the priv_data in rdt cleanup any longer, since it isn't set to duplicate pointers. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* lavf: deprecate AVFormatContext.index_builtAnton Khirnov2011-02-10
| | | | | | | it's not touched anywhere in ffmpeg, the code setting it was removed over two years ago (e9b78eeba22b050810a507e69df1b652e56ab62b). Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* asfdec: deobfuscate reading video properties sizeAnton Khirnov2011-02-10
| | | | | | | This code will be later split out into a function which takes a 'size' argument, so I'm keeping the name 'sizeX' here. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* asfdec: split asf_read_header()Anton Khirnov2011-02-10
| | | | | | | Only trivial splits are done here -- i.e. copy/paste + reindent + missing variable declarations. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* wtv: mark streams intended for hearing or visual impaired personsPeter Ross2011-02-10
| | | | Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
* make av_find_best_stream() ignore streams marked with AV_DISPOSITION_*_IMPAIREDPeter Ross2011-02-10
| | | | Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
* add AV_DISPOSITION_HEARING_IMPAIRED and AV_DISPOSITION_VISUAL_IMPAIREDPeter Ross2011-02-10
| | | | Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
* Remove final semicolon from some macrosMans Rullgard2011-02-10
| | | | | | This avoids double semicolons after macro expansion. Signed-off-by: Mans Rullgard <mans@mansr.com>
* mov: remove stray semicolonMans Rullgard2011-02-10
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* asfdec: skip the stream bitrate listAnton Khirnov2011-02-10
| | | | | | Its contents aren't used for anything. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* asfdec: use an ASFContext array for storing stream bitratesAnton Khirnov2011-02-09
| | | | | | This will be useful for splitting asf_read_header() Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* asfdec: move DAR list to ASFContextAnton Khirnov2011-02-09
| | | | | | This will be useful for splitting asf_read_header() Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* udp: Enable address reuse by default for multicastDavid Fries2011-02-09
| | | | | | | | Keep the original corner case behaviour, where reuse is enabled for the case where no argument is given to the reuse url option. Signed-off-by: Martin Storsjö <martin@martin.st> Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* asfdec: remove some write-only values from the contextAnton Khirnov2011-02-09
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* asf: split ASFContext into muxer and demuxer parts.Anton Khirnov2011-02-09
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* mpegts: remove unused macro MAX_SCAN_PACKETSVladimir Pantelic2011-02-09
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Frame-based multithreading framework using pthreadsAlexander Strange2011-02-09
| | | | | | See doc/multithreading.txt for details on use in codecs. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* asf: make ff_guidcmp inline and move it to asf.hAnton Khirnov2011-02-09
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* lavf: rename ff_probe_input_buffer to make it publicAnssi Hannula2011-02-08
| | | | | | | It is useful for applications that hand input data directly to lavf via a ByteIOContext. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* lavf: simplify pb parameter of ff_probe_input_bufferAnssi Hannula2011-02-08
| | | | | | | There is no need to pass the ByteIOContext via a pointer to a pointer anymore. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>