[vlc-devel] [PATCH 2/3] Add CPB and max bitrate to video format

Rémi Denis-Courmont remi at remlab.net
Mon Feb 21 09:05:21 CET 2011




On Sun, 20 Feb 2011 22:42:34 +0100, Jean-Baptiste Kempf <jb at videolan.org>
wrote:
> From: Christophe Massiot <massiot at via.ecp.fr>
> 
> CPB and max bitrate are necessary for a correct TS muxing.
> ---
>  include/vlc_es.h |    3 +++
>  1 files changed, 3 insertions(+), 0 deletions(-)
> 
> diff --git a/include/vlc_es.h b/include/vlc_es.h
> index 0b41015..5f3981e 100644
> --- a/include/vlc_es.h
> +++ b/include/vlc_es.h
> @@ -117,6 +117,9 @@ struct video_format_t
>      unsigned int i_frame_rate;                     /**< frame rate
> numerator */
>      unsigned int i_frame_rate_base;              /**< frame rate
> denominator */
> 
> +    unsigned int i_cpb_buffer;             /**< coded picture buffer (=
> vbv) */
> +    unsigned int i_max_bitrate;      /**< max bitrate for that
> profile/level */

I don't understand how this belongs to (raw) video format?

-- 
Rémi Denis-Courmont
http://www.remlab.net
http://fi.linkedin.com/in/remidenis




More information about the vlc-devel mailing list