[vlc-commits] mux: asf: leaky bucket needs buffer size parameter
Francois Cartegnie
git at videolan.org
Wed Nov 27 08:53:00 CET 2013
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Wed Nov 27 08:49:27 2013 +0100| [45f1628162e5a2b711d6f0ddf945a6b2a518fd3f] | committer: Francois Cartegnie
mux: asf: leaky bucket needs buffer size parameter
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=45f1628162e5a2b711d6f0ddf945a6b2a518fd3f
---
modules/mux/asf.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/mux/asf.c b/modules/mux/asf.c
index eed79eb..5b3f884 100644
--- a/modules/mux/asf.c
+++ b/modules/mux/asf.c
@@ -975,7 +975,7 @@ static block_t *asf_header_create( sout_mux_t *p_mux, bool b_broadcast )
bo_addle_u64( &bo, 0 );
bo_addle_u64( &bo, 0 );
bo_addle_u32( &bo, p_fmt->i_bitrate ); /* Bitrate */
- bo_addle_u32( &bo, 0 ); /* Buffer size */
+ bo_addle_u32( &bo, p_sys->i_preroll_time ); /* Buffer size */
bo_addle_u32( &bo, 0 ); /* Initial buffer fullness */
bo_addle_u32( &bo, p_fmt->i_bitrate ); /* Alternate Bitrate */
bo_addle_u32( &bo, 0 ); /* Alternate Buffer size */
More information about the vlc-commits
mailing list