diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2004-02-25 02:05:50 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2004-02-25 02:05:50 +0000 |
commit | e51f49487e13e544e4540d60ed4e4c28f1b5ef62 (patch) | |
tree | 824b530b7d10be91bffa5ac2442c6ba014eaa17c /libavcodec/mpegvideo.h | |
parent | ed7b99bbe26858de3f6c019359f69b00b94b5aa1 (diff) | |
download | ffmpeg-e51f49487e13e544e4540d60ed4e4c28f1b5ef62.tar.gz |
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
Originally committed as revision 2812 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/mpegvideo.h')
-rw-r--r-- | libavcodec/mpegvideo.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/mpegvideo.h b/libavcodec/mpegvideo.h index e6e242323e..51cc5e1001 100644 --- a/libavcodec/mpegvideo.h +++ b/libavcodec/mpegvideo.h @@ -275,6 +275,7 @@ typedef struct MpegEncContext { 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 |