Commit 7087f3bf authored by Matthias Keiser's avatar Matthias Keiser Committed by Rémi Denis-Courmont

video_format_IsSimilar: check orientation

Signed-off-by: default avatarRémi Denis-Courmont <remi@remlab.net>
parent 447ecbf6
......@@ -259,6 +259,9 @@ bool video_format_IsSimilar( const video_format_t *p_fmt1, const video_format_t
if( v1.i_sar_num * v2.i_sar_den != v2.i_sar_num * v1.i_sar_den )
return false;
if( v1.orientation != v2.orientation)
return false;
if( v1.i_chroma == VLC_CODEC_RGB15 ||
v1.i_chroma == VLC_CODEC_RGB16 ||
v1.i_chroma == VLC_CODEC_RGB24 ||
......
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