1
mirror of https://git.videolan.org/git/ffmpeg.git synced 2024-08-23 09:45:06 +02:00
Commit Graph

79 Commits

Author SHA1 Message Date
Diego Biurrun
6eaaf8da88 gxfenc: place variable declarations before statements
libavformat/gxfenc.c:409: warning: ISO C90 forbids mixed declarations and code
2011-07-17 23:59:20 +02:00
Anton Khirnov
dfc2c4d900 lavf: use designated initialisers for all (de)muxers.
It's more readable and less prone to breakage.
2011-07-17 06:58:37 +02:00
Anton Khirnov
001d668d40 lavf: factor out conversion of ISO8601 string to unix time 2011-07-13 12:14:25 +02:00
Anton Khirnov
5f847bf61d lavf: deprecate AVFormatContext.timestamp
It's replaced by 'creation_time' metadata tag.
2011-07-12 15:30:10 +02:00
Mans Rullgard
0ebcdf5cda Do not include mathematics.h in avutil.h
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-07-03 21:42:06 +01:00
Mans Rullgard
ee8aecd23a Do not include intfloat_readwrite.h in avutil.h
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-07-03 21:42:06 +01:00
Stefano Sabatini
975a1447f7 Replace deprecated FF_*_TYPE symbols with AV_PICTURE_TYPE_*.
Signed-off-by: Diego Biurrun <diego@biurrun.de>
2011-05-02 12:18:44 +02:00
Anton Khirnov
8978fedaee avio: introduce an AVIOContext.seekable field
Use it instead of url_is_streamed and AVIOContext.is_streamed.
2011-04-03 22:46:40 +02:00
Mans Rullgard
2912e87a6c Replace FFmpeg with Libav in licence headers
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-03-19 13:33:20 +00:00
Anton Khirnov
b7f2fdde74 avio: rename put_flush_packet -> avio_flush
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2011-03-16 22:59:39 -04:00
Anton Khirnov
76aa876e69 avio: avio_ prefix for url_fsize
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2011-03-07 11:03:39 -05:00
Anton Khirnov
a2704c9712 avio: add avio_tell macro as a replacement for url_ftell
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2011-03-04 11:26:57 -05:00
Anton Khirnov
6b4aa5dac8 avio: avio_ prefix for url_fseek
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2011-03-01 12:12:33 -05:00
Anton Khirnov
bbc413f943 lavf: replace remaining uses of put_tag with avio_write
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2011-02-25 14:38:56 -05:00
Anton Khirnov
77eb5504d3 avio: avio: avio_ prefixes for put_* functions
In the name of consistency:
put_byte           -> avio_w8
put_<type>         -> avio_w<type>
put_buffer         -> avio_write

put_nbyte will be made private
put_tag will be merged with avio_put_str

Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2011-02-21 14:25:15 -05:00
Anton Khirnov
ae628ec1fd avio: rename ByteIOContext to AVIOContext.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2011-02-20 08:37:15 -05:00
Diego Elio Pettenò
c6610a216e Prefix all _demuxer, _muxer, _protocol from libavformat and libavdevice.
This also lists the objects from those two libraries as internal (by adding
the ff_ prefix) so that they can then be hidden via linker scripts.
2011-01-26 22:10:09 +00:00
Baptiste Coudurier
8a451afe7d In gxf muxer, round up number of lines mod 16 in mpeg umf data, based patch by Reuben Martin, reuben dot m at gmail dot com
Originally committed as revision 25401 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-10-07 19:41:04 +00:00
Baptiste Coudurier
c6d04addf6 In gxf muxer, fix number of flt entries based on patch by Reuben Martin, reuben dot m at gmail dot com
Originally committed as revision 25399 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-10-07 19:35:55 +00:00
Reuben Martin
82ae56b3fa In gxf muxer, write umf media for mpeg1video, patch by Reuben Martin, reuben dot m at gmail dot com
Originally committed as revision 25396 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-10-07 19:17:06 +00:00
Reuben Martin
ad4c3c6840 In gxf muxer, fix flt entry offset, patch by Reuben Martin, reuben dot m at gmail dot com
Originally committed as revision 25395 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-10-07 19:15:35 +00:00
Baptiste Coudurier
eeeae2bf05 gxf muxer only accepts pal or ntsc resolutions currently, so fail if resolution is something else
Originally committed as revision 25014 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-09-01 00:04:47 +00:00
Thierry Foucu
591db22dff gxfenc: Fix ES name in the UMF media description, by using strlen instead of sizeof
Patch by Thierry Foucu, tfoucu at gmail

Originally committed as revision 24379 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-21 07:46:02 +00:00
Stefano Sabatini
72415b2adb Define AVMediaType enum, and use it instead of enum CodecType, which
is deprecated and will be dropped at the next major bump.

Originally committed as revision 22735 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-30 23:30:55 +00:00
Carl Eugen Hoyos
bc2d2a07d5 Make AVCodecTag.id enum CodecID and use CODEC_ID_NONE instead of 0.
Originally committed as revision 20250 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-16 14:46:06 +00:00
Daniel Verkamp
1a40491ef2 Add ff_ prefixes to exported symbols in libavformat/riff.h.
patch by Daniel Verkamp, aniel drv nu

Originally committed as revision 19254 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-22 23:09:34 +00:00
Baptiste Coudurier
c43accabd3 remove useless include
Originally committed as revision 18906 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-23 03:05:56 +00:00
Baptiste Coudurier
af79f1ae78 reindent
Originally committed as revision 17898 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-09 04:17:12 +00:00
Baptiste Coudurier
6b4fab72df change path pattern to be similar to existing files, and remove useless buffer
Originally committed as revision 17896 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-09 03:34:15 +00:00
Baptiste Coudurier
4070629dfa merge struct declaration and definition
Originally committed as revision 17895 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-09 02:49:47 +00:00
Baptiste Coudurier
0c8f772791 write map packet every 100 packets according to specs
Originally committed as revision 17894 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-09 02:47:32 +00:00
Baptiste Coudurier
aaa43de31a write flt packet, might need some tweaking but it works
Originally committed as revision 17893 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-09 01:35:00 +00:00
Baptiste Coudurier
a96b1a903a correctly interleave audio and video according to specs
Originally committed as revision 17892 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-09 01:10:28 +00:00
Baptiste Coudurier
46a7e3ec14 write timecode track in gxf
Originally committed as revision 17890 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-09 00:14:55 +00:00
Baptiste Coudurier
33605366ee compute media info in write_header
Originally committed as revision 17889 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-08 22:23:44 +00:00
Baptiste Coudurier
cd34fd9c8c factorize write packet
Originally committed as revision 17888 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-08 22:14:26 +00:00
Baptiste Coudurier
990287c468 remove unneeded and empty user data
Originally committed as revision 17886 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-08 22:12:56 +00:00
Baptiste Coudurier
6b43d2d075 uniformize variable names and remove duplicating fields in private structs
Originally committed as revision 17884 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-08 21:55:08 +00:00
Baptiste Coudurier
8b9c94e0bd remove useless fields
Originally committed as revision 17883 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-08 21:08:06 +00:00
Thierry Foucu
2ead1eb0ff use correct field number for video according to specs, patch by Thierry Foucu, tfoucu at gmail dot com
Originally committed as revision 17214 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-13 21:36:36 +00:00
Baptiste Coudurier
032d8aece2 cosmetics, rename nb_frames to nb_fields
Originally committed as revision 17213 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-13 21:32:18 +00:00
Thierry Foucu
68a7aafff6 compute b_per_i_or_p value correctly, patch by Thierry Foucu, tfoucu at gmail dot com
Originally committed as revision 17166 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-12 00:08:44 +00:00
Baptiste Coudurier
a88f0f16ab rename wrongly named b_per_gop to b_per_i_or_p according to specs
Originally committed as revision 17165 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-11 23:49:54 +00:00
Baptiste Coudurier
16e3b0b3e6 rename ff_audio_interleave to ff_audio_rechunk_interleave
Originally committed as revision 17103 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-09 21:34:20 +00:00
Baptiste Coudurier
63601677fe use new audio interleaving generic code
Originally committed as revision 17039 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-08 04:33:53 +00:00
Baptiste Coudurier
5efa932d2c use st->priv_data to store per stream context
Originally committed as revision 16904 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-31 11:06:20 +00:00
Baptiste Coudurier
d972e56cf2 second try fixing time code in gxf
Originally committed as revision 16839 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-27 23:44:11 +00:00
Baptiste Coudurier
e9338da87d fix endianness of time code, and calculate it in fields, according to specs
Originally committed as revision 16730 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-23 20:03:57 +00:00
Baptiste Coudurier
507ff760af Do not use avctx->frame_number which might not be set,
this also fixes a side effect where its value was one too much.

Originally committed as revision 16701 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-20 09:43:58 +00:00
Baptiste Coudurier
15a4e8b85a set correct value for starting line
Originally committed as revision 16698 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-20 09:25:50 +00:00