]> git.sesse.net Git - ffmpeg/commit
lavc: deprecate the use of AVCodecContext.time_base for decoding
authorAnton Khirnov <anton@khirnov.net>
Fri, 4 Apr 2014 10:47:44 +0000 (12:47 +0200)
committerAnton Khirnov <anton@khirnov.net>
Wed, 15 Oct 2014 06:37:43 +0000 (06:37 +0000)
commit7ea1b3472a61de4aa4d41b571e99418e4997ad41
treefcf38bb7d5d1f770f1e4b8fea256fa6c45313add
parentd565fef1b83b6c5f8afb32229260b79f67c68109
lavc: deprecate the use of AVCodecContext.time_base for decoding

When decoding, this field holds the inverse of the framerate that can be
written in the headers for some codecs. Using a field called 'time_base'
for this is very misleading, as there are no timestamps associated with
it. Furthermore, this field is used for a very different purpose during
encoding.

Add a new field, called 'framerate', to replace the use of time_base for
decoding.
27 files changed:
doc/APIchanges
libavcodec/avcodec.h
libavcodec/cavsdec.c
libavcodec/dirac.c
libavcodec/dvdec.c
libavcodec/eacmv.c
libavcodec/eamad.c
libavcodec/eatgq.c
libavcodec/eatgv.c
libavcodec/eatqi.c
libavcodec/h261dec.c
libavcodec/h264.c
libavcodec/h264_slice.c
libavcodec/hevc.c
libavcodec/ituh263dec.c
libavcodec/libschroedingerdec.c
libavcodec/mpeg12dec.c
libavcodec/mpeg4videodec.c
libavcodec/mpegvideo_parser.c
libavcodec/options.c
libavcodec/pthread_frame.c
libavcodec/utils.c
libavcodec/vaapi_mpeg4.c
libavcodec/vc1.c
libavcodec/vdpau_mpeg4.c
libavcodec/version.h
libavcodec/vp3.c