From 884ad77b7f0a4cae1a181c7034cf49fc8c399a3a Mon Sep 17 00:00:00 2001 From: Steinar Gunderson Date: Sat, 25 Sep 2010 14:38:25 +0200 Subject: [PATCH] Video bitrate should be in bits/sec, not bytes/sec. --- modules/access/sdi.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/access/sdi.cpp b/modules/access/sdi.cpp index e867f534ed..12e71926fa 100644 --- a/modules/access/sdi.cpp +++ b/modules/access/sdi.cpp @@ -475,7 +475,7 @@ static int Open( vlc_object_t *p_this ) video_fmt.video.i_sar_den = 1; video_fmt.video.i_frame_rate = p_sys->i_fps_num; video_fmt.video.i_frame_rate_base = p_sys->i_fps_den; - video_fmt.i_bitrate = video_fmt.video.i_width * video_fmt.video.i_height * video_fmt.video.i_frame_rate * 2; + video_fmt.i_bitrate = video_fmt.video.i_width * video_fmt.video.i_height * video_fmt.video.i_frame_rate * 2 * 8; psz_tmp = var_CreateGetNonEmptyString( p_demux, "sdi-aspect-ratio" ); if( psz_tmp ) -- 2.39.2