]> git.sesse.net Git - vlc/commitdiff
backport [13052]
authorMarian Durkovic <md@videolan.org>
Mon, 31 Oct 2005 12:44:48 +0000 (12:44 +0000)
committerMarian Durkovic <md@videolan.org>
Mon, 31 Oct 2005 12:44:48 +0000 (12:44 +0000)
src/input/decoder.c

index d1278e46301c1da3cdc6aff716857651527dd002..f7694c5b046f9d517fc76e9739c286b5e581a7a5 100644 (file)
@@ -930,6 +930,8 @@ static picture_t *vout_new_buffer( decoder_t *p_dec )
             var_CreateGetBool( p_dec, "hdtv-fix" ) )
         {
             p_dec->fmt_out.video.i_visible_height = 1080;
+            p_dec->fmt_out.video.i_sar_num *= 135; 
+            p_dec->fmt_out.video.i_sar_num /= 136; 
             msg_Warn( p_dec, "Fixing broken HDTV stream (display_height=1088)");
         }