Erik Hovland
be390a4e2e
Fix a mem leak in av_find_stream_info().
...
Patch by Erik Hovland erik hovland org
Originally committed as revision 14276 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
744b4c02c2
Move the codec_id overriding at a slightly better place.
...
Originally committed as revision 14234 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
283c061936
Remove common factors from timebase in av_set_pts_info().
...
Should fix issue313
Originally committed as revision 14232 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
dd57251cb0
Remove old hackish codec probe system.
...
Originally committed as revision 14193 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
2a72e494c3
Use strcmp() instead of strncmp() in set_codec_from_probe_data().
...
Originally committed as revision 14190 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
25d3fb7374
indent
...
Originally committed as revision 14189 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
942de2f4fa
Only try to probe the codec when the available data has roughly doubled
...
relative to the last attempt.
Originally committed as revision 14188 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
312d24d5e9
Add mpegvideo and H.264 to the codec probe.
...
Originally committed as revision 14187 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
55823964dc
indent
...
Originally committed as revision 14185 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
0bef08e516
New codec probing system try #1 .
...
Originally committed as revision 14184 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
9d3b9f2cce
Move add_to_pktbuf() before av_read_packet(). My future work on codec identification
...
cleanup will need this.
Originally committed as revision 14181 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
64cd3108df
Move set_codec_from_probe_data() up to where the other probe functions are.
...
Originally committed as revision 14180 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
3179da621a
Pass AVPacketList instead of the whole context to add_to_pktbuf as that is
...
all that is needed.
Originally committed as revision 14179 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
cdb5af79e3
indent
...
Originally committed as revision 14133 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
7efeb73a5a
10000l for myself, my last change was incomplete.
...
This one also reverts the libav mpeg ts regression test score change.
Originally committed as revision 14132 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
6d77d9acf7
Set cur_dts to 0 only during creating new streams and not every time cur_dts happens
...
to be AV_NOPTS_VALUE.
Originally committed as revision 14118 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Ronald S. Bultje
1e2802c5cf
Reindent after r14059, see "[PATCH] allow empty params for
...
av_open_input_stream()".
Originally committed as revision 14060 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Ronald S. Bultje
e145ce2027
Allow NULL for read_header in AVInputFormat. See discussion in "[PATCH] allow
...
empty params for av_open_input_stream()".
Originally committed as revision 14059 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Baptiste Coudurier
150611474e
give context to av_log
...
Originally committed as revision 14012 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
3041a4a13d
Also print flags with FF_FDEBUG_TS.
...
Originally committed as revision 13987 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Baptiste Coudurier
f3b5a1a260
make av_find_stream_info find frame_size for aac too
...
Originally committed as revision 13976 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
4d35bf74f9
Make av_find_stream_info() find the frame_size for vorbis.
...
Originally committed as revision 13972 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
6e1aa0f383
Fill missing pts in during muxing when we know that they are equal to dts.
...
Originally committed as revision 13970 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
c924ca78b6
We cannot calculate the duration of vorbis packets even if we do know the
...
"minimal" frame_size.
Originally committed as revision 13969 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
796d200a77
Prevent duration calculation code from generating random durations for
...
vorbis in ogg.
Originally committed as revision 13958 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Baptiste Coudurier
ade8d8b939
uniformize AVStream->priv_data freeing in av_close_input_stream
...
Originally committed as revision 13838 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Baptiste Coudurier
ccafd47251
factorize read_header failure freeing code
...
Originally committed as revision 13837 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Art Clarke
6919e54c00
Check if there is at least a stream before writing trailer.
...
Patch by Art Clarke: aclarke vlideshow com
Originally committed as revision 13836 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
45b2b05f8e
Make timestamp debugging work nicer.
...
Originally committed as revision 13728 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Ramiro Polla
fc9c2d53c3
Merge declaration and initialization.
...
Originally committed as revision 13672 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Aurelien Jacobs
ca162a5004
Ensure the first audio stream is selected as the default stream
...
when no video stream is present.
Originally committed as revision 13648 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
820ad60cd9
Make update_initial_durations() also work if a dts occured before a
...
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
17 years ago
Michael Niedermayer
5853423c3f
Do not set pts in update_initial_durations() if stream has b frames.
...
Originally committed as revision 13639 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Andreas Öman
1686cce6e6
Audio channels and sample rate must be set in order to skip
...
additional probing of a stream.
Originally committed as revision 13619 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Baptiste Coudurier
c5577c403f
rename last_frame_offset to next_frame_offset, due to r13615
...
Originally committed as revision 13618 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
5e5c908691
redundant check--
...
Originally committed as revision 13474 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
406a0fdcab
Do not use the pts/dts calculation code which needs a parser, when no parser
...
is available.
Originally committed as revision 13470 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Aurelien Jacobs
c2c3dedf6e
compute the end of all chapters when end is not specified in the container
...
Originally committed as revision 13363 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Aurelien Jacobs
ebea1d7668
cosmetics: indentation
...
Originally committed as revision 13280 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Aurelien Jacobs
570745cc51
remove useless title check
...
Originally committed as revision 13279 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
abd2256dbe
Pass time_base as argument to new_chapter() as well.
...
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
17 years ago
Michael Niedermayer
b18a4ab2ae
Warn user about invalid timestamps.
...
Originally committed as revision 13264 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
5c37f43a0d
Make ff_new_chapter() return AVChapter instead of int so its consistant with
...
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
17 years ago
Michael Niedermayer
7c8202cc92
s/num_chapters/nb_chapters/ all other similar variables are called nb_*.
...
Originally committed as revision 13260 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
747fb6c60c
vertical align
...
Originally committed as revision 13259 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
42720ee4d0
indent
...
Originally committed as revision 13258 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
0dac708e2d
remove useless title check
...
Originally committed as revision 13257 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
6b43e2c7d3
indent
...
Originally committed as revision 13256 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
7a2a3e8e40
Add id to AVChapter, untested (where do i find matroska files with chapters?).
...
Originally committed as revision 13255 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Aurelien Jacobs
842ffee386
cosmetics: indentation
...
Originally committed as revision 13248 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago