]> git.sesse.net Git - vlc/commitdiff
Keep behavior same as it was before aspect-ratio fix - the safe, conservative
authorRocky Bernstein <rocky@videolan.org>
Thu, 7 Apr 2005 04:58:36 +0000 (04:58 +0000)
committerRocky Bernstein <rocky@videolan.org>
Thu, 7 Apr 2005 04:58:36 +0000 (04:58 +0000)
thing to do.

modules/codec/dvbsub.c

index 995588e699ec10c193ca533495be5d1783ff8c36..77571240bc96d4a4440e09cfe135a2379690a296 100644 (file)
@@ -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;