aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/utils.c
Commit message (Collapse)AuthorAgeFilesLines
...
* Check there is a stream before writing header.Tomas Härdin2010-01-131-0/+5
| | | | | | Patch by Tomas Härdin: $(name) punto hardin chez codemill dot se Originally committed as revision 21186 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Prefer "*FUNC_NAME(" over "* FUNC_NAME(" for XXX_configuration() andStefano Sabatini2010-01-031-2/+2
| | | | | | XXX_license() functions, consistent with the rest of FFmpeg. Originally committed as revision 21005 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use av_match_ext() in place of the deprecated match_ext() function.Stefano Sabatini2010-01-011-2/+2
| | | | Originally committed as revision 21000 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Deprecate match_ext() in favor of av_match_ext(), and mark it forStefano Sabatini2010-01-011-0/+7
| | | | | | deletion at the next major bump. Originally committed as revision 20998 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use av_guess_format() in place of the deprecated guess_format().Stefano Sabatini2010-01-011-3/+3
| | | | Originally committed as revision 20994 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Deprecate guess_format() in favor of av_guess_format().Stefano Sabatini2010-01-011-0/+8
| | | | Originally committed as revision 20991 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Deprecate and mark for deletion the function guess_stream_format(),Stefano Sabatini2009-12-311-0/+2
| | | | | | | | | | and clone its code to ffserver_guess_format() in ffserver.c. guess_stream_format() is hackish since it relies on some undocumented properties of the name of the muxers (wich is currently only relevant for the ASF muxer), and has no use outside ffserver.c. Originally committed as revision 20987 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make sure the Metadata: header is not printed if the only metadata will notMichael Niedermayer2009-12-131-1/+1
| | | | | | be displayed. (idea from ffmbc) Originally committed as revision 20850 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move dump_metadata() to where it is in ffmbc, looks better.Michael Niedermayer2009-12-131-1/+1
| | | | Originally committed as revision 20849 to svn://svn.ffmpeg.org/ffmpeg/trunk
* indentMichael Niedermayer2009-12-131-1/+1
| | | | Originally committed as revision 20848 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Skip dumping language twice.Michael Niedermayer2009-12-131-0/+1
| | | | | | This looks too ugly. Idea also from ffmbc. Originally committed as revision 20847 to svn://svn.ffmpeg.org/ffmpeg/trunk
* dump metadata for AVStreams & AVPrograms too.Michael Niedermayer2009-12-131-0/+2
| | | | Originally committed as revision 20846 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Factorize dump_metadata() out.Michael Niedermayer2009-12-131-7/+13
| | | | | | | Idea from ffmbc, code not, mine is a fraction of the size due to simpler metadata API. Originally committed as revision 20845 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Try to simplify av_estimate_timings_from_pts() like in ffmbc.Michael Niedermayer2009-12-131-33/+10
| | | | | | Note if this breaks for some file, report it please! Originally committed as revision 20844 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Debug av_log() about stream probing from ffmbc.Michael Niedermayer2009-12-131-1/+2
| | | | Originally committed as revision 20842 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add avg_frame_rate.Michael Niedermayer2009-12-131-0/+6
| | | | Originally committed as revision 20826 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove commented out code.Michael Niedermayer2009-12-131-15/+1
| | | | Originally committed as revision 20823 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Reset pts_buffers in av_read_frame_flush().John Stebbins2009-12-121-1/+4
| | | | | | Patch by John Stebbins, jstebbins jetheaddev com Originally committed as revision 20806 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Calls to url_fseek should have their return value checked inSean Soria2009-12-061-1/+3
| | | | | | | | | | av_seek_frame_binary, just as they do in av_seek_frame_generic. Otherwise, function may return success even though url_fseek reported failure. Patch by Sean Soria, first.last at gmail Originally committed as revision 20744 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Change ret type to int64_t because url_fseek returns int64_t.Sean Soria2009-12-011-1/+2
| | | | | | | This fixes seeking in files > 2gb. Patch by Sean Soria, sean dot soria at gmail dot com. Originally committed as revision 20693 to svn://svn.ffmpeg.org/ffmpeg/trunk
* use AVFormatContext in av_log, better than AVCodecContext when multiple ↵Baptiste Coudurier2009-12-011-7/+9
| | | | | | streams are present Originally committed as revision 20689 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Print a warning if the duration is estimated from the bitrate, as this isMichael Niedermayer2009-11-301-0/+1
| | | | | | likely not accurate. Originally committed as revision 20675 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add functions to return library license and library configuration.Diego Biurrun2009-11-181-0/+11
| | | | Originally committed as revision 20547 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add '#undef fprintf' before PRINT macro that uses fprintf.Diego Biurrun2009-11-111-0/+2
| | | | | | Otherwise there may be trouble when fprintf is disabled in favor of av_log. Originally committed as revision 20515 to svn://svn.ffmpeg.org/ffmpeg/trunk
* print packet duration when debugging timestampsBaptiste Coudurier2009-10-301-2/+4
| | | | Originally committed as revision 20420 to svn://svn.ffmpeg.org/ffmpeg/trunk
* check stream index validity in av_program_add_stream_indexBaptiste Coudurier2009-10-191-0/+5
| | | | Originally committed as revision 20319 to svn://svn.ffmpeg.org/ffmpeg/trunk
* request mp3 frame_size to be set in has_codec_parameters, fix issue #1314Baptiste Coudurier2009-10-191-0/+1
| | | | Originally committed as revision 20318 to svn://svn.ffmpeg.org/ffmpeg/trunk
* reindent after commitBaptiste Coudurier2009-10-191-2/+2
| | | | Originally committed as revision 20307 to svn://svn.ffmpeg.org/ffmpeg/trunk
* In dump_format, print streams not associated with any program.Baptiste Coudurier2009-10-191-6/+15
| | | | | | Fixes issue #1366. Originally committed as revision 20306 to svn://svn.ffmpeg.org/ffmpeg/trunk
* fix indentation and add bracesBaptiste Coudurier2009-10-181-3/+4
| | | | Originally committed as revision 20289 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Avoid segfault for empty input filesVitor Sessak2009-10-171-0/+6
| | | | Originally committed as revision 20265 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Allow autodetection of E-AC3.Carl Eugen Hoyos2009-10-111-0/+3
| | | | Originally committed as revision 20206 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add FIXME about low_delay vs has_b_frames.Carl Eugen Hoyos2009-10-031-0/+1
| | | | Originally committed as revision 20161 to svn://svn.ffmpeg.org/ffmpeg/trunk
* H264 allows B frames without requiring a >=1 sized buffer.Wallak2009-10-031-1/+1
| | | | | | Patch by wallak, wallak free fr Originally committed as revision 20160 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Only use *ic_ptr when it has been initialized.Michael Niedermayer2009-09-181-2/+3
| | | | Originally committed as revision 19911 to svn://svn.ffmpeg.org/ffmpeg/trunk
* print at debug level the score at which codec probing succedeedBaptiste Coudurier2009-09-171-2/+4
| | | | Originally committed as revision 19899 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Print a warning if a format has been detected with a low score.Michael Niedermayer2009-09-161-2/+6
| | | | Originally committed as revision 19890 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Print at debug level the score with which probing succeeded.Michael Niedermayer2009-09-161-0/+2
| | | | Originally committed as revision 19889 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix indention after last commit.Michael Niedermayer2009-09-161-6/+6
| | | | Originally committed as revision 19888 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Improve amortized worst case speed of the muxers packet interleaving codeMichael Niedermayer2009-09-161-11/+17
| | | | | | from O(packets_in_the_file) to O(num_of_streams). Originally committed as revision 19887 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Upgrade a few important messages to AV_LOG_WARNING.Michael Niedermayer2009-09-161-3/+3
| | | | Originally committed as revision 19872 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix indention after previous commit.Michael Niedermayer2009-09-161-6/+6
| | | | Originally committed as revision 19871 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make packet interleaving in the muxer not scan through the wholeMichael Niedermayer2009-09-161-10/+18
| | | | | | | | buffer when simply appending at the end works. Much faster if one stream ends prematurely. Fixes issue1379. Originally committed as revision 19870 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Also reset *_end in flush_packet_queue().Michael Niedermayer2009-09-161-0/+2
| | | | Originally committed as revision 19869 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add frame_size as a codec parameter requirement for Speex inJustin Ruggles2009-09-041-1/+2
| | | | | | | av_find_stream_info(). It forces decoding of a packet when there is no Speex header in order to determine the correct frame size. Originally committed as revision 19760 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Support for generic multi-stream key frame finding for new seek API.Ivan Schreter2009-08-221-1/+1
| | | | Originally committed as revision 19680 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Moves the display of metadata to dump_format()Peter Ross2009-08-121-0/+8
| | | | Originally committed as revision 19632 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Only free '*ic_ptr' when a caller has pre-allocated a context and passed it inArt Clarke2009-07-151-1/+3
| | | | | | | (wherein av_open_input_file assumes memory ownership). Patch by Art Clarke a<surname> xuggle com Originally committed as revision 19436 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix mem leak when user preallocates an AVFormatContext, passes it toArt Clarke2009-07-081-1/+1
| | | | | | | av_open_input_file(), but the file does not exist. Patch by Art Clarke a$(surname) xuggle com Originally committed as revision 19370 to svn://svn.ffmpeg.org/ffmpeg/trunk
* If either of num or den is 0 make both 0 in av_set_pts_info().Michael Niedermayer2009-07-021-0/+3
| | | | Originally committed as revision 19326 to svn://svn.ffmpeg.org/ffmpeg/trunk