diff avformat.h @ 3128:b5e2ce291882 libavformat

Introduce max_picture_buffer variable in AVFormatContext, set by rtbufsize option.
author ramiro
date Sat, 08 Mar 2008 21:59:11 +0000
parents ea5623a8efde
children 96814e704e8b
line wrap: on
line diff
--- a/avformat.h	Sat Mar 08 19:00:55 2008 +0000
+++ b/avformat.h	Sat Mar 08 21:59:11 2008 +0000
@@ -22,7 +22,7 @@
 #define FFMPEG_AVFORMAT_H
 
 #define LIBAVFORMAT_VERSION_MAJOR 52
-#define LIBAVFORMAT_VERSION_MINOR  8
+#define LIBAVFORMAT_VERSION_MINOR  9
 #define LIBAVFORMAT_VERSION_MICRO  0
 
 #define LIBAVFORMAT_VERSION_INT AV_VERSION_INT(LIBAVFORMAT_VERSION_MAJOR, \
@@ -508,6 +508,12 @@
      * demuxing: set by user
      */
     unsigned int max_index_size;
+
+    /**
+     * Maximum ammount of memory in bytes to use for buffering frames that are
+     * obtained from real-time capture devices.
+     */
+    unsigned int max_picture_buffer;
 } AVFormatContext;
 
 typedef struct AVPacketList {