[FFmpeg-cvslog] avcodec/avcodec: more verbose documentation for time_base
Clément Bœsch
u at pkh.me
Thu Oct 16 09:56:49 CEST 2014
On Thu, Oct 16, 2014 at 01:43:27AM +0200, Michael Niedermayer wrote:
> ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Thu Oct 16 00:13:45 2014 +0200| [7b6a97edd1b50c03ec9b30f5806a72036923bee4] | committer: Michael Niedermayer
>
> avcodec/avcodec: more verbose documentation for time_base
>
> Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
>
> > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=7b6a97edd1b50c03ec9b30f5806a72036923bee4
> ---
>
> libavcodec/avcodec.h | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
> index cb0e744..3d6f7b9 100644
> --- a/libavcodec/avcodec.h
> +++ b/libavcodec/avcodec.h
> @@ -1346,6 +1346,8 @@ typedef struct AVCodecContext {
> * of which frame timestamps are represented. For fixed-fps content,
> * timebase should be 1/framerate and timestamp increments should be
> * identically 1.
> + * This often, but not always is the inverse of the frame rate or field rate
> + * for video.
Can you provide examples where it's not?
> * - encoding: MUST be set by user.
> * - decoding: the use of this field for decoding is deprecated.
> * Use framerate instead.
[...]
--
Clément B.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 473 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-cvslog/attachments/20141016/81e16ecb/attachment.asc>
More information about the ffmpeg-cvslog
mailing list