From: Steinar Gunderson Date: Fri, 24 Sep 2010 00:08:58 +0000 (+0200) Subject: Change default aspect to 16:9. X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=9cefd57da162f2f3f5ddc24d4fc9fcf176580765;p=vlc Change default aspect to 16:9. --- diff --git a/modules/access/sdi.cpp b/modules/access/sdi.cpp index 04dcfc322d..c48c5b825d 100644 --- a/modules/access/sdi.cpp +++ b/modules/access/sdi.cpp @@ -190,8 +190,8 @@ static int Open( vlc_object_t *p_this ) es_format_Init( &fmt, VIDEO_ES, VLC_CODEC_UYVY ); fmt.video.i_width = 720; fmt.video.i_height = 576; - fmt.video.i_sar_num = 1; - fmt.video.i_sar_den = 1; + fmt.video.i_sar_num = 16 * fmt.video.i_height; + fmt.video.i_sar_den = 9 * fmt.video.i_width; msg_Dbg( p_demux, "added new video es %4.4s %dx%d", (char*)&fmt.i_codec, fmt.video.i_width, fmt.video.i_height );