From 9cefd57da162f2f3f5ddc24d4fc9fcf176580765 Mon Sep 17 00:00:00 2001 From: Steinar Gunderson Date: Fri, 24 Sep 2010 02:08:58 +0200 Subject: [PATCH] Change default aspect to 16:9. --- modules/access/sdi.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 ); -- 2.39.2