Commit 447ecbf6 authored by Matthias Keiser's avatar Matthias Keiser Committed by Rémi Denis-Courmont

decoder: check video orientation in vout_new_buffer()

Signed-off-by: default avatarRémi Denis-Courmont <remi@remlab.net>
parent cc4f28aa
......@@ -2032,7 +2032,8 @@ static picture_t *vout_new_buffer( decoder_t *p_dec )
p_dec->fmt_out.video.i_y_offset != p_owner->video.i_y_offset ||
p_dec->fmt_out.i_codec != p_owner->video.i_chroma ||
(int64_t)p_dec->fmt_out.video.i_sar_num * p_owner->video.i_sar_den !=
(int64_t)p_dec->fmt_out.video.i_sar_den * p_owner->video.i_sar_num )
(int64_t)p_dec->fmt_out.video.i_sar_den * p_owner->video.i_sar_num ||
p_dec->fmt_out.video.orientation != p_owner->video.orientation )
{
vout_thread_t *p_vout;
......
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