]> git.sesse.net Git - vlc/commitdiff
Fix teletext page aspect ratio
authorRafaël Carré <funman@videolan.org>
Wed, 28 Jan 2015 09:51:03 +0000 (10:51 +0100)
committerRafaël Carré <funman@videolan.org>
Wed, 28 Jan 2015 09:51:03 +0000 (10:51 +0100)
It was broken by 29a4015294, which should only have modified text "subpictures"
Closes #13050
Tested-by: Julian Scheel <julian@jusst.de>
modules/codec/zvbi.c

index 1331e09f03bd7c15288f4a4ae08a14eb57eb23dd..a5e5df666ed37a0632ac3146e6be61974ed67510 100644 (file)
@@ -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;