aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/utils.c
Commit message (Collapse)AuthorAgeFilesLines
...
* Waste less space for printing timebases.Michael Niedermayer2009-02-211-3/+10
| | | | Originally committed as revision 17505 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Print all timebases (idea from netgem)Michael Niedermayer2009-02-211-3/+3
| | | | Originally committed as revision 17502 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use context variable repeat_pict for frame duration computation andIvan Schreter2009-02-211-0/+2
| | | | | | | | document this new use. Patch by Ivan Schreter, schreter gmx net Originally committed as revision 17492 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Be less noisy with invalid pts/dts.Michael Niedermayer2009-02-211-1/+1
| | | | Originally committed as revision 17482 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add convergence_duration to AVCodecParserContext.Ivan Schreter2009-02-191-0/+2
| | | | | | Patch by Ivan Schreter, schreter gmx net Originally committed as revision 17468 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add key_frame to AVCodecParserContext, used in libavformat.Ivan Schreter2009-02-181-2/+4
| | | | | | | | Initialized to -1 in parser.c for backward compatibility. Patch by Ivan Schreter, schreter gmx net Originally committed as revision 17442 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add a warning log when trying to encode into a container requiring globalArt Clarke2009-02-121-0/+4
| | | | | | | headers in extradata and the codec is not set correctly. Patch by Art Clarke aclarke xuggle com Originally committed as revision 17177 to svn://svn.ffmpeg.org/ffmpeg/trunk
* remove now useless av_set_program_name() functionAurelien Jacobs2009-02-101-11/+0
| | | | Originally committed as revision 17113 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add the ability to set the timestamp to the current time by specifying 'now'Francesco Cosoleto2009-02-081-0/+3
| | | | | | | | as the time Patch by Francesco Cosoleto ( cosoleto gmail com ) Originally committed as revision 17076 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Replace the calls to the deprecated av_alloc_format_context() withStefano Sabatini2009-02-081-1/+1
| | | | | | corresponding calls to avformat_alloc_context(). Originally committed as revision 17048 to svn://svn.ffmpeg.org/ffmpeg/trunk
* let packet pass through when no timestampsBaptiste Coudurier2009-02-031-1/+4
| | | | Originally committed as revision 16982 to svn://svn.ffmpeg.org/ffmpeg/trunk
* split av_interleave_per_dts, to avoid code duplicationBaptiste Coudurier2009-01-311-23/+34
| | | | Originally committed as revision 16884 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move av_read_frame/parser related buffer variables from AVFormatContextMichael Niedermayer2009-01-221-44/+37
| | | | | | | to AVStream, this is required if we want to allow the user to pull frames from specific streams at some point in the future. Originally committed as revision 16724 to svn://svn.ffmpeg.org/ffmpeg/trunk
* print stream sar if present and different than codec sarBaptiste Coudurier2009-01-221-0/+11
| | | | Originally committed as revision 16720 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Handle av_read_frame() EAGAIN return.Michael Niedermayer2009-01-221-3/+12
| | | | Originally committed as revision 16718 to svn://svn.ffmpeg.org/ffmpeg/trunk
* jpeg2k is intra only codecBaptiste Coudurier2009-01-181-0/+1
| | | | Originally committed as revision 16663 to svn://svn.ffmpeg.org/ffmpeg/trunk
* match format in names list separated by commasBaptiste Coudurier2009-01-171-1/+19
| | | | Originally committed as revision 16659 to svn://svn.ffmpeg.org/ffmpeg/trunk
* remove ff_get_fourcc() and use AV_RL32() insteadAurelien Jacobs2009-01-171-2/+2
| | | | Originally committed as revision 16654 to svn://svn.ffmpeg.org/ffmpeg/trunk
* export gcd function as av_gcd()Aurelien Jacobs2009-01-171-2/+2
| | | | Originally committed as revision 16653 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Change semantic of CONFIG_*, HAVE_* and ARCH_*.Aurelien Jacobs2009-01-131-2/+2
| | | | | | They are now always defined to either 0 or 1. Originally committed as revision 16590 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move the AVFormatContext options definition to a dedicated file,Stefano Sabatini2009-01-101-57/+0
| | | | | | reduce the utils.c clutter. Originally committed as revision 16516 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Do not assume that if pkt->destruct != av_destruct_packet then it is notLuca Abeni2009-01-091-1/+1
| | | | | | necessary to call the destruct method Originally committed as revision 16506 to svn://svn.ffmpeg.org/ffmpeg/trunk
* rename ff_metadata_sync_compat to ff_metadata_mux_compatAurelien Jacobs2009-01-091-1/+1
| | | | Originally committed as revision 16501 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add a second metadata compatibility layer, so that metadata that getsAurelien Jacobs2009-01-081-0/+4
| | | | | | | demuxed with new API is automatically converted to the old API, allowing old applications to stay functional. Originally committed as revision 16499 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Do not try to duplicate packets that have data==NULL.Michael Niedermayer2009-01-071-1/+1
| | | | Originally committed as revision 16483 to svn://svn.ffmpeg.org/ffmpeg/trunk
* free all allocated metadata structuresAurelien Jacobs2009-01-061-8/+4
| | | | Originally committed as revision 16457 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add a metadata compatibility layer, so that when a user application setAurelien Jacobs2009-01-061-0/+4
| | | | | | | metadata using old API, it is automatically converted to new API before muxing. Originally committed as revision 16447 to svn://svn.ffmpeg.org/ffmpeg/trunk
* rename AVMetaData to AVMetadata and meta_data to metadataAurelien Jacobs2009-01-041-6/+6
| | | | Originally committed as revision 16430 to svn://svn.ffmpeg.org/ffmpeg/trunk
* 10l format include path for metadata.hMichael Niedermayer2009-01-041-1/+1
| | | | Originally committed as revision 16426 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Generic metadata API.Michael Niedermayer2009-01-041-0/+9
| | | | | | | | avi is updated as example. No version bump, the API still might change slightly ... No update to ffmpeg.c as requested by aurel. Originally committed as revision 16424 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Drop the deprecated parse_image_size() and parse_frame_rate() functionsStefano Sabatini2009-01-041-0/+2
| | | | | | at the next libavformat major version bump. Originally committed as revision 16420 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix argument constness for the av_codec_get_id() andStefano Sabatini2008-11-081-2/+2
| | | | | | | av_codec_get_tag() functions, making them take in input a constant array, since they're not supposed to change it. Fix some warnings. Originally committed as revision 15795 to svn://svn.ffmpeg.org/ffmpeg/trunk
* dnxhd codec is intra onlyBaptiste Coudurier2008-10-231-0/+1
| | | | Originally committed as revision 15672 to svn://svn.ffmpeg.org/ffmpeg/trunk
* uses FF_ARRAY_ELEMS() where appropriateAurelien Jacobs2008-10-211-2/+2
| | | | Originally committed as revision 15662 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Check for pts==dts on I/P frames in the presence of non low delay decoding andMichael Niedermayer2008-10-191-0/+8
| | | | | | | discard these invalid timestamps. fixes issue171. Originally committed as revision 15641 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move code setting delay and presentation_delayed a little up soMichael Niedermayer2008-10-181-8/+9
| | | | | | that the variables are available sooner. Originally committed as revision 15640 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove offset_t typedef and use int64_t directly instead.Diego Biurrun2008-10-031-3/+3
| | | | | | | The name offset_t is easily confused with the standard off_t type and *_t is POSIX reserved namespace if any POSIX header is included. Originally committed as revision 15533 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move doxygen comments for av_gettime from utils.c to avformat.h.Diego Biurrun2008-09-271-3/+0
| | | | Originally committed as revision 15439 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Ensure that muxer and encoder aspect ratios match. So noMichael Niedermayer2008-09-191-0/+4
| | | | | | invalid files are generated. Originally committed as revision 15367 to svn://svn.ffmpeg.org/ffmpeg/trunk
* set block align in av_write_header if not set, fix issue #489Baptiste Coudurier2008-09-081-0/+3
| | | | Originally committed as revision 15277 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Bump Major version, this commit is almost just renaming bits_per_sample toLuca Abeni2008-09-081-3/+3
| | | | | | | | | | | bits_per_coded_sample but that cannot be done seperately. Patch by Luca Abeni Also reset the minor version and fix the forgotton change to libfaad. Note: The API/ABI should not be considered stable yet, there still may be a change done here or there if some developer has some cleanup ideas and patches! Originally committed as revision 15262 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add AVPacket.convergence_duration.Michael Niedermayer2008-09-031-0/+1
| | | | Originally committed as revision 15179 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix detection of MPEG4 in MPEG-PS.Michael Niedermayer2008-09-021-0/+3
| | | | | | Fixes issue568. Originally committed as revision 15152 to svn://svn.ffmpeg.org/ffmpeg/trunk
* make has_codec_parameters not returning true when sample_fmt is not setBaptiste Coudurier2008-08-291-1/+1
| | | | Originally committed as revision 15043 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Do not truncate timestamps before the muxer as it makes simpleMichael Niedermayer2008-08-291-16/+0
| | | | | | | things like last_pts - pts rather tricky and is not good for anything. Timestamps should be truncated just before storing when needed. Originally committed as revision 15015 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Change implementation for ff_data_to_hex(), this is faster. See discussion onRonald S. Bultje2008-08-281-11/+6
| | | | | | mailinglist in "Realmedia patch" thread. Originally committed as revision 15006 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Export data_to_hex() as private API in lavf, rename to ff_data_to_hex() andRonald S. Bultje2008-08-271-0/+22
| | | | | | | | move it from sdp.c into utils.c. Also add new header internal.h specifically for lavf-specific internal API. See discussion in "Realmedia patch" thread on mailinglist. Originally committed as revision 15002 to svn://svn.ffmpeg.org/ffmpeg/trunk
* remove useless assignment (st is never read after this line)Aurelien Jacobs2008-08-261-1/+0
| | | | Originally committed as revision 14985 to svn://svn.ffmpeg.org/ffmpeg/trunk
* When setting codec_id during codec probe we must also set codec_type.Andreas Öman2008-08-251-4/+9
| | | | Originally committed as revision 14966 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Mark several libavformat arrays constReimar Döffinger2008-08-241-3/+3
| | | | Originally committed as revision 14950 to svn://svn.ffmpeg.org/ffmpeg/trunk