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

git version control git at videolan.org
Mon Sep 15 23:46:17 CEST 2008


vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Mon Sep 15 23:48:37 2008 +0200| [1fd2f3cc9c2b219aa20ba122102eb6c6123f7b9b] | committer: Laurent Aimar 

Fixed ASS subtitle with anamorphic video.

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

 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 5ae9c38..9b3ae70 100644
--- a/modules/codec/libass.c
+++ b/modules/codec/libass.c
@@ -342,8 +342,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