Mercurial > libavcodec.hg
diff mpegvideo.h @ 1829:7ae26b6e197f libavcodec
set AVFrame.pts based upon framerate if its 0
detect & warn if the user prvides pts only for some frames, and try to guess the missing ones
author | michael |
---|---|
date | Wed, 25 Feb 2004 02:05:50 +0000 |
parents | fcbf31baa1af |
children | c72589baee53 |
line wrap: on
line diff
--- a/mpegvideo.h Mon Feb 23 21:18:29 2004 +0000 +++ b/mpegvideo.h Wed Feb 25 02:05:50 2004 +0000 @@ -275,6 +275,7 @@ int picture_number; //FIXME remove, unclear definition int picture_in_gop_number; ///< 0-> first pic in gop, ... int b_frames_since_non_b; ///< used for encoding, relative to not yet reordered input + int64_t user_specified_pts;///< last non zero pts from AVFrame which was passed into avcodec_encode_video() int mb_width, mb_height; ///< number of MBs horizontally & vertically int mb_stride; ///< mb_width+1 used for some arrays to allow simple addressng of left & top MBs withoutt sig11 int b8_stride; ///< 2*mb_width+1 used for some 8x8 block arrays to allow simple addressng