[FFmpeg-cvslog] r12383 - in trunk/libavformat: avformat.h utils.c

Måns Rullgård mans
Sat Mar 8 23:04:18 CET 2008


ramiro <subversion at mplayerhq.hu> writes:

> Author: ramiro
> Date: Sat Mar  8 22:59:11 2008
> New Revision: 12383
>
> Log:
> Introduce max_picture_buffer variable in AVFormatContext,
> set by rtbufsize option.
>
> Modified:
>    trunk/libavformat/avformat.h
>    trunk/libavformat/utils.c
>
> Modified: trunk/libavformat/avformat.h
> ==============================================================================
> --- trunk/libavformat/avformat.h	(original)
> +++ trunk/libavformat/avformat.h	Sat Mar  8 22:59:11 2008
> @@ -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 @@ typedef struct AVFormatContext {
>       * demuxing: set by user
>       */
>      unsigned int max_index_size;
> +
> +    /**
> +     * Maximum ammount of memory in bytes to use for buffering frames that are

"amount", s/that are//

> +     * obtained from real-time capture devices.
> +     */
> +    unsigned int max_picture_buffer;
>  } AVFormatContext;

-- 
M?ns Rullg?rd
mans at mansr.com




More information about the ffmpeg-cvslog mailing list