[vlc-devel] commit: Fixed ASS subtitle with anamorphic video. (Laurent Aimar )

git version control git at videolan.org
Wed Sep 17 02:03:59 CEST 2008


vlc | branch: 0.9-bugfix | Laurent Aimar <fenrir at videolan.org> | Mon Sep 15 23:48:37 2008 +0200| [b0193c5bc5143e6abf7a3eeea3a7808cd80a8318] | committer: Jean-Baptiste Kempf 

Fixed ASS subtitle with anamorphic video.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=b0193c5bc5143e6abf7a3eeea3a7808cd80a8318
---

 modules/codec/libass.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/modules/codec/libass.c b/modules/codec/libass.c
index 02d58a3..a16609a 100644
--- a/modules/codec/libass.c
+++ b/modules/codec/libass.c
@@ -345,8 +345,6 @@ static void UpdateRegions( video_format_t *p_fmt, spu_t *p_spu,
     fmt.i_height = fmt.i_visible_height;
     fmt.i_bits_per_pixel = 0;
     fmt.i_x_offset = fmt.i_y_offset = 0;
-    fmt.i_sar_num = 1;
-    fmt.i_sar_den = 1;
 
     b_fmt_changed = memcmp( &fmt, &p_ass->fmt, sizeof(fmt) ) != 0;
     if( b_fmt_changed )




More information about the vlc-devel mailing list