[vlc-devel] [PATCH] Transcode: increase the vbitrate floor value

Jean-Baptiste Kempf jb at videolan.org
Mon Jun 5 11:28:18 CEST 2017


Above 16000, it was considered to be in kb.

This is too low for modern video

Ref #18393
---
 modules/stream_out/transcode/transcode.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/stream_out/transcode/transcode.c b/modules/stream_out/transcode/transcode.c
index ebfcf14ebe..7f50c1baaf 100644
--- a/modules/stream_out/transcode/transcode.c
+++ b/modules/stream_out/transcode/transcode.c
@@ -342,7 +342,7 @@ static int Open( vlc_object_t *p_this )
     free( psz_string );
 
     p_sys->i_vbitrate = var_GetInteger( p_stream, SOUT_CFG_PREFIX "vb" );
-    if( p_sys->i_vbitrate < 16000 ) p_sys->i_vbitrate *= 1000;
+    if( p_sys->i_vbitrate < 64000 ) p_sys->i_vbitrate *= 1000;
 
     p_sys->f_scale = var_GetFloat( p_stream, SOUT_CFG_PREFIX "scale" );
 
-- 
2.11.0



More information about the vlc-devel mailing list