From 101bafe4001d0adeb411b41b1cdcb18e224b9939 Mon Sep 17 00:00:00 2001
From: Rocky Bernstein <rocky@videolan.org>
Date: Thu, 7 Apr 2005 04:58:36 +0000
Subject: [PATCH] Keep behavior same as it was before aspect-ratio fix - the
 safe, conservative thing to do.

---
 modules/codec/dvbsub.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/codec/dvbsub.c b/modules/codec/dvbsub.c
index 995588e699..77571240bc 100644
--- a/modules/codec/dvbsub.c
+++ b/modules/codec/dvbsub.c
@@ -1309,7 +1309,7 @@ static subpicture_t *render( decoder_t *p_dec )
         /* Create new SPU region */
         memset( &fmt, 0, sizeof(video_format_t) );
         fmt.i_chroma = VLC_FOURCC('Y','U','V','P');
-        fmt.i_aspect = VOUT_ASPECT_FACTOR;
+	fmt.i_aspect = 0; /* 0 means use aspect ratio of background video */
         fmt.i_width = fmt.i_visible_width = p_region->i_width;
         fmt.i_height = fmt.i_visible_height = p_region->i_height;
         fmt.i_x_offset = fmt.i_y_offset = 0;
-- 
2.25.4