summaryrefslogtreecommitdiff
path: root/libavcodec/avcodec.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2002-04-22 19:04:28 +0000
committerMichael Niedermayer <michaelni@gmx.at>2002-04-22 19:04:28 +0000
commit1ff662cc2c542baf7acc3a78ac21e0f19a129320 (patch)
treecc356e887830bcf2fbce35501871a45be4c86b5e /libavcodec/avcodec.h
parent8d4c65d136bc76d74883e4913a8e3daf4122b38c (diff)
export delay info
fixed low_delay & vo_type on mpeg4 header writer & parser Originally committed as revision 415 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/avcodec.h')
-rw-r--r--libavcodec/avcodec.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index 10ebcaeb52..26e1b19abf 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 4601
-#define LIBAVCODEC_BUILD_STR "4601"
+#define LIBAVCODEC_BUILD 4602
+#define LIBAVCODEC_BUILD_STR "4602"
enum CodecID {
CODEC_ID_NONE,
@@ -140,6 +140,9 @@ typedef struct AVCodecContext {
int frame_number; /* audio or video frame number */
int key_frame; /* true if the previous compressed frame was
a key frame (intra, or seekable) */
+ int delay; /* number of frames the decoded output will be delayed relative to the encoded input */
+
+ /* encoding parameters */
int quality; /* quality of the previous encoded frame
(between 1 (good) and 31 (bad))
this is allso used to set the quality in vbr mode