1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-12-09 22:02:17 +02:00
Files
FFmpeg/libavcodec/mpegvideo_parser.c
Anton Khirnov 7ea1b3472a 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.
2014-10-15 06:37:43 +00:00

7.5 KiB