diff options
author | Juanjo <pulento@users.sourceforge.net> | 2002-05-14 19:56:42 +0000 |
---|---|---|
committer | Juanjo <pulento@users.sourceforge.net> | 2002-05-14 19:56:42 +0000 |
commit | e0a3d744a0d5a9a25fb85c9bba17e3b07d3ba29b (patch) | |
tree | 5f6b1feb68dae3338e67f5b625431f580e172ae1 /libavcodec/avcodec.h | |
parent | c02dbee162656c7cd22e2d5523e07cc3fcd4ae36 (diff) | |
download | ffmpeg-e0a3d744a0d5a9a25fb85c9bba17e3b07d3ba29b.tar.gz |
- repeat_pict meaning changed, now it signals the extra delay for the
decoded frame.
- extra_delay = (repeat_pict / 2) * (1/fps)
Originally committed as revision 496 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/avcodec.h')
-rw-r--r-- | libavcodec/avcodec.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index a56f9f130b..863f1d47e5 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -5,8 +5,8 @@ #define LIBAVCODEC_VERSION_INT 0x000406 #define LIBAVCODEC_VERSION "0.4.6" -#define LIBAVCODEC_BUILD 4608 -#define LIBAVCODEC_BUILD_STR "4608" +#define LIBAVCODEC_BUILD 4609 +#define LIBAVCODEC_BUILD_STR "4609" enum CodecID { CODEC_ID_NONE, @@ -130,8 +130,9 @@ typedef struct AVCodecContext { #define FF_ASPECT_16_9_525 5 int gop_size; /* 0 = intra only */ enum PixelFormat pix_fmt; /* pixel format, see PIX_FMT_xxx */ - int repeat_pict; /* set this to 1 if you want the decoder - to repeat frames for 3:2 pulldown (MPEG-2) */ + int repeat_pict; /* when decoding, this signal how much the picture */ + /* must be delayed. */ + /* extra_delay = (repeat_pict / 2) * (1/fps) */ /* if non NULL, 'draw_horiz_band' is called by the libavcodec decoder to draw an horizontal band. It improve cache usage. Not all codecs can do that. You must check the codec capabilities |