summaryrefslogtreecommitdiff
path: root/libavformat/utils.c
Commit message (Collapse)AuthorAge
* indentMichael Niedermayer2008-07-08
| | | | Originally committed as revision 14133 to svn://svn.ffmpeg.org/ffmpeg/trunk
* 10000l for myself, my last change was incomplete.Michael Niedermayer2008-07-08
| | | | | | This one also reverts the libav mpeg ts regression test score change. Originally committed as revision 14132 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Set cur_dts to 0 only during creating new streams and not every time cur_dts ↵Michael Niedermayer2008-07-08
| | | | | | | | happens to be AV_NOPTS_VALUE. Originally committed as revision 14118 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Reindent after r14059, see "[PATCH] allow empty params forRonald S. Bultje2008-07-03
| | | | | | av_open_input_stream()". Originally committed as revision 14060 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Allow NULL for read_header in AVInputFormat. See discussion in "[PATCH] allowRonald S. Bultje2008-07-03
| | | | | | empty params for av_open_input_stream()". Originally committed as revision 14059 to svn://svn.ffmpeg.org/ffmpeg/trunk
* give context to av_logBaptiste Coudurier2008-06-27
| | | | Originally committed as revision 14012 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Also print flags with FF_FDEBUG_TS.Michael Niedermayer2008-06-26
| | | | Originally committed as revision 13987 to svn://svn.ffmpeg.org/ffmpeg/trunk
* make av_find_stream_info find frame_size for aac tooBaptiste Coudurier2008-06-25
| | | | Originally committed as revision 13976 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make av_find_stream_info() find the frame_size for vorbis.Michael Niedermayer2008-06-25
| | | | Originally committed as revision 13972 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fill missing pts in during muxing when we know that they are equal to dts.Michael Niedermayer2008-06-25
| | | | Originally committed as revision 13970 to svn://svn.ffmpeg.org/ffmpeg/trunk
* We cannot calculate the duration of vorbis packets even if we do know theMichael Niedermayer2008-06-25
| | | | | | "minimal" frame_size. Originally committed as revision 13969 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Prevent duration calculation code from generating random durations forMichael Niedermayer2008-06-24
| | | | | | vorbis in ogg. Originally committed as revision 13958 to svn://svn.ffmpeg.org/ffmpeg/trunk
* uniformize AVStream->priv_data freeing in av_close_input_streamBaptiste Coudurier2008-06-20
| | | | Originally committed as revision 13838 to svn://svn.ffmpeg.org/ffmpeg/trunk
* factorize read_header failure freeing codeBaptiste Coudurier2008-06-20
| | | | Originally committed as revision 13837 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Check if there is at least a stream before writing trailer.Art Clarke2008-06-20
| | | | | | Patch by Art Clarke: aclarke vlideshow com Originally committed as revision 13836 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make timestamp debugging work nicer.Michael Niedermayer2008-06-09
| | | | Originally committed as revision 13728 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Merge declaration and initialization.Ramiro Polla2008-06-06
| | | | Originally committed as revision 13672 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Ensure the first audio stream is selected as the default streamAurelien Jacobs2008-06-03
| | | | | | when no video stream is present. Originally committed as revision 13648 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make update_initial_durations() also work if a dts occured before aMichael Niedermayer2008-06-03
| | | | | | | | sequence header (that is a few known dts/pts but no known durations previously) cnnts1.mpg is one sample affected by this. Originally committed as revision 13640 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Do not set pts in update_initial_durations() if stream has b frames.Michael Niedermayer2008-06-03
| | | | Originally committed as revision 13639 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Audio channels and sample rate must be set in order to skipAndreas Öman2008-06-02
| | | | | | additional probing of a stream. Originally committed as revision 13619 to svn://svn.ffmpeg.org/ffmpeg/trunk
* rename last_frame_offset to next_frame_offset, due to r13615Baptiste Coudurier2008-06-02
| | | | Originally committed as revision 13618 to svn://svn.ffmpeg.org/ffmpeg/trunk
* redundant check--Michael Niedermayer2008-05-27
| | | | Originally committed as revision 13474 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Do not use the pts/dts calculation code which needs a parser, when no parserMichael Niedermayer2008-05-27
| | | | | | is available. Originally committed as revision 13470 to svn://svn.ffmpeg.org/ffmpeg/trunk
* compute the end of all chapters when end is not specified in the containerAurelien Jacobs2008-05-24
| | | | Originally committed as revision 13363 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: indentationAurelien Jacobs2008-05-24
| | | | Originally committed as revision 13280 to svn://svn.ffmpeg.org/ffmpeg/trunk
* remove useless title checkAurelien Jacobs2008-05-24
| | | | Originally committed as revision 13279 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Pass time_base as argument to new_chapter() as well.Michael Niedermayer2008-05-23
| | | | | | | This fixes the wrong timebase the matroska demuxer had after my previous commits. Maybe we should reduce new_chapter() to just (AVFormatContext, int id) ? Originally committed as revision 13266 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Warn user about invalid timestamps.Michael Niedermayer2008-05-23
| | | | Originally committed as revision 13264 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make ff_new_chapter() return AVChapter instead of int so its consistant withMichael Niedermayer2008-05-23
| | | | | | | av_new_program() and its simpler to set other fields in AVChapter which arent set by ff_new_chapter(). Originally committed as revision 13262 to svn://svn.ffmpeg.org/ffmpeg/trunk
* s/num_chapters/nb_chapters/ all other similar variables are called nb_*.Michael Niedermayer2008-05-23
| | | | Originally committed as revision 13260 to svn://svn.ffmpeg.org/ffmpeg/trunk
* vertical alignMichael Niedermayer2008-05-23
| | | | Originally committed as revision 13259 to svn://svn.ffmpeg.org/ffmpeg/trunk
* indentMichael Niedermayer2008-05-23
| | | | Originally committed as revision 13258 to svn://svn.ffmpeg.org/ffmpeg/trunk
* remove useless title checkMichael Niedermayer2008-05-23
| | | | Originally committed as revision 13257 to svn://svn.ffmpeg.org/ffmpeg/trunk
* indentMichael Niedermayer2008-05-23
| | | | Originally committed as revision 13256 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add id to AVChapter, untested (where do i find matroska files with chapters?).Michael Niedermayer2008-05-23
| | | | Originally committed as revision 13255 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: indentationAurelien Jacobs2008-05-23
| | | | Originally committed as revision 13248 to svn://svn.ffmpeg.org/ffmpeg/trunk
* allows adding chapters with NULL titleAurelien Jacobs2008-05-23
| | | | Originally committed as revision 13247 to svn://svn.ffmpeg.org/ffmpeg/trunk
* add support for chapters definition in lavfAnton Khirnov2008-05-22
| | | | | | patch by Anton Khirnov wyskas _at_ gmail _dot_ com Originally committed as revision 13240 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use full path for #includes from another directory.Diego Biurrun2008-05-09
| | | | Originally committed as revision 13098 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove unnecessary parentheses from return calls.Diego Biurrun2008-05-06
| | | | Originally committed as revision 13069 to svn://svn.ffmpeg.org/ffmpeg/trunk
* minor memleakMichael Niedermayer2008-04-24
| | | | Originally committed as revision 12945 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Print duration with higher precision.Diego Biurrun2008-04-16
| | | | | | patch from Hervé Flores, herve.flores free fr Originally committed as revision 12847 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Do not detect a format if another has the same score.Michael Niedermayer2008-04-15
| | | | Originally committed as revision 12837 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Do not call update_initial_durations if pkt->duration is 0.Reimar Döffinger2008-04-13
| | | | | | | Fixes and assertion crash when playing amv files, e.g. http://samples.mplayerhq.hu/amv/Shakira - Hips Don't Lie.amv Originally committed as revision 12797 to svn://svn.ffmpeg.org/ffmpeg/trunk
* typo: occured --> occurredDiego Biurrun2008-03-22
| | | | Originally committed as revision 12549 to svn://svn.ffmpeg.org/ffmpeg/trunk
* typo fixesDiego Biurrun2008-03-15
| | | | Originally committed as revision 12449 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Introduce max_picture_buffer variable in AVFormatContext,Ramiro Polla2008-03-08
| | | | | | set by rtbufsize option. Originally committed as revision 12383 to svn://svn.ffmpeg.org/ffmpeg/trunk
* do not reset duration_error for all streams, only reset current stream, fix ↵Baptiste Coudurier2008-03-06
| | | | | | wrong_fps.gxf Originally committed as revision 12353 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Set indexmem to a saner default.Michael Niedermayer2008-02-24
| | | | Originally committed as revision 12190 to svn://svn.ffmpeg.org/ffmpeg/trunk