[vlc-commits] Fix teletext page aspect ratio
Rafaël Carré
git at videolan.org
Wed Jan 28 11:02:01 CET 2015
vlc/vlc-2.2 | branch: master | Rafaël Carré <funman at videolan.org> | Wed Jan 28 10:51:03 2015 +0100| [0f96eaaf15f027cf5cde763d53641ef9b1a3d40d] | committer: Jean-Baptiste Kempf
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>
(cherry picked from commit 47f215557953d40ed0d0b38a7834917e9117cc2b)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.2.git/?a=commit;h=0f96eaaf15f027cf5cde763d53641ef9b1a3d40d
---
modules/codec/zvbi.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/modules/codec/zvbi.c b/modules/codec/zvbi.c
index abcd27f..6a63439 100644
--- a/modules/codec/zvbi.c
+++ b/modules/codec/zvbi.c
@@ -522,6 +522,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