[FFmpeg-devel] [PATCH 0/2] Deprecating evil AV_TIME_BASE defines
Derek Buitenhuis
derek.buitenhuis at gmail.com
Mon Dec 30 00:35:36 CET 2013
Parts im a bit unsure of:
- Did I break doxygen stuff?
- The "replacement" in libavformat/options_table.h.
The 2nd patch in this set is fairly different than the one I sent
Libav due to the projects being quite different now. One key difference
being FFmpeg's creation and use of av_ts2str() and av_ts2timestr(),
which take a pointer to an AVRational for no good reason, and abuse
the fact that they know AV_TIME_BASE_Q is defined as a compound literal,
which is sketch at best.
Derek Buitenhuis (2):
avutil: Add av_get_time_base{_q,}() and deprecate AV_TIME_BASE{_Q,}
Replace depecated AV_TIME_BASE{_Q,} with av_get_time_base{_q}()
doc/APIchanges | 4 ++
doc/examples/filtering_video.c | 4 +-
ffmpeg.c | 123 ++++++++++++++++++++-------------------
ffmpeg.h | 14 ++---
ffmpeg_opt.c | 10 ++--
ffplay.c | 14 ++---
ffprobe.c | 51 ++++++++--------
ffserver.c | 8 +--
libavcodec/avcodec.h | 2 +-
libavcodec/libzvbi-teletextdec.c | 4 +-
libavcodec/utils.c | 2 +-
libavcodec/xsubdec.c | 2 +-
libavdevice/caca.c | 2 +-
libavdevice/lavfi.c | 2 +-
libavdevice/v4l2.c | 6 +-
libavfilter/aeval.c | 2 +-
libavfilter/af_afade.c | 4 +-
libavfilter/af_ladspa.c | 2 +-
libavfilter/asrc_sine.c | 2 +-
libavfilter/avf_concat.c | 2 +-
libavfilter/avfilter.c | 4 +-
libavfilter/avfilter.h | 2 +-
libavfilter/f_interleave.c | 8 +--
libavfilter/f_sendcmd.c | 2 +-
libavfilter/f_settb.c | 4 +-
libavfilter/framesync.c | 4 +-
libavfilter/trim.c | 6 +-
libavfilter/vf_fade.c | 16 ++---
libavfilter/vf_fps.c | 6 +-
libavfilter/vf_hue.c | 2 +-
libavfilter/vf_vignette.c | 2 +-
libavfilter/vsrc_mptestsrc.c | 2 +-
libavfilter/vsrc_testsrc.c | 2 +-
libavformat/avformat.h | 12 ++--
libavformat/avidec.c | 20 +++----
libavformat/avio.h | 4 +-
libavformat/concatdec.c | 6 +-
libavformat/dxa.c | 2 +-
libavformat/ffmetadec.c | 2 +-
libavformat/flvdec.c | 4 +-
libavformat/flvenc.c | 2 +-
libavformat/hdsenc.c | 2 +-
libavformat/hls.c | 14 ++---
libavformat/hlsenc.c | 4 +-
libavformat/hlsproto.c | 4 +-
libavformat/librtmp.c | 2 +-
libavformat/matroskadec.c | 4 +-
libavformat/mov.c | 8 +--
libavformat/movenc.c | 2 +-
libavformat/mpeg.c | 6 +-
libavformat/mpegenc.c | 10 ++--
libavformat/mpegtsenc.c | 6 +-
libavformat/mux.c | 16 ++---
libavformat/nutdec.c | 6 +-
libavformat/oggenc.c | 8 +--
libavformat/options_table.h | 2 +-
libavformat/rmdec.c | 2 +-
libavformat/rtpdec.c | 4 +-
libavformat/rtpenc.c | 2 +-
libavformat/rtsp.h | 2 +-
libavformat/rtspdec.c | 8 +--
libavformat/sbgdec.c | 22 +++----
libavformat/seek-test.c | 6 +-
libavformat/seek.c | 4 +-
libavformat/segment.c | 9 +--
libavformat/smoothstreamingenc.c | 2 +-
libavformat/utils.c | 56 +++++++++---------
libavutil/avutil.h | 41 +++++++++----
libavutil/utils.c | 12 ++++
libavutil/version.h | 5 +-
tools/aviocat.c | 2 +-
tools/ismindex.c | 2 +-
72 files changed, 343 insertions(+), 302 deletions(-)
--
1.8.5.2
More information about the ffmpeg-devel
mailing list