From: Steinar Gunderson Date: Sat, 25 Sep 2010 12:38:25 +0000 (+0200) Subject: Video bitrate should be in bits/sec, not bytes/sec. X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=884ad77b7f0a4cae1a181c7034cf49fc8c399a3a;p=vlc Video bitrate should be in bits/sec, not bytes/sec. --- 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 )