Commit 8a8f406a authored by Marian Durkovic's avatar Marian Durkovic

avoid rounding problems

parent 5b98440b
...@@ -931,7 +931,7 @@ static picture_t *vout_new_buffer( decoder_t *p_dec ) ...@@ -931,7 +931,7 @@ static picture_t *vout_new_buffer( decoder_t *p_dec )
{ {
p_dec->fmt_out.video.i_visible_height = 1080; 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 *= 135;
p_dec->fmt_out.video.i_sar_num /= 136; p_dec->fmt_out.video.i_sar_den *= 136;
msg_Warn( p_dec, "Fixing broken HDTV stream (display_height=1088)"); msg_Warn( p_dec, "Fixing broken HDTV stream (display_height=1088)");
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment