[vlc-commits] Fix teletext page aspect ratio

Rafaël Carré git at videolan.org
Wed Jan 28 10:55:00 CET 2015


vlc | branch: master | Rafaël Carré <funman at videolan.org> | Wed Jan 28 10:51:03 2015 +0100| [47f215557953d40ed0d0b38a7834917e9117cc2b] | committer: Rafaël Carré

Fix teletext page aspect ratio

It was broken by 29a4015294, which should only have modified text "subpictures"
Closes #13050
Tested-by: Julian Scheel <julian at jusst.de>

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

 modules/codec/zvbi.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/codec/zvbi.c b/modules/codec/zvbi.c
index 1331e09..a5e5df6 100644
--- a/modules/codec/zvbi.c
+++ b/modules/codec/zvbi.c
@@ -513,6 +513,7 @@ static subpicture_t *Subpicture( decoder_t *p_dec, video_format_t *p_fmt,
         fmt.i_width = fmt.i_visible_width = i_columns * 12;
         fmt.i_height = fmt.i_visible_height = i_rows * 10;
         fmt.i_bits_per_pixel = 32;
+        fmt.i_sar_num = fmt.i_sar_den = 0; /* let the vout set the correct AR */
     }
     fmt.i_x_offset = fmt.i_y_offset = 0;
 



More information about the vlc-commits mailing list