[vlc-devel] [PATCH 2/3] Add CPB and max bitrate to video format
Jean-Baptiste Kempf
jb at videolan.org
Sun Feb 20 22:42:34 CET 2011
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 */
+
uint32_t i_rmask, i_gmask, i_bmask; /**< color masks for RGB chroma */
int i_rrshift, i_lrshift;
int i_rgshift, i_lgshift;
--
1.7.4.1
More information about the vlc-devel
mailing list